Skip to content

Commit cf51998

Browse files
New actions (#22)
1 parent 04823d2 commit cf51998

File tree

6 files changed

+44
-95
lines changed

6 files changed

+44
-95
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Run gradle build
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "main"
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
uses: qupath/actions/.github/workflows/gradle.yml@main
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Make draft release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
permissions:
9+
contents: write
10+
uses: qupath/actions/.github/workflows/github-release.yml@main

.github/workflows/gradle.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/publish-release.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/publish-snapshot.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish release to SciJava Maven
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release:
7+
type: boolean
8+
description: Whether to make a release, or if not a snapshot
9+
required: true
10+
11+
jobs:
12+
build:
13+
name: Publish release
14+
uses: qupath/actions/.github/workflows/scijava-maven.yml@main
15+
secrets: inherit
16+
with:
17+
release: ${{ inputs.release }}

0 commit comments

Comments
 (0)