https://github.com/qupath/actions
GitHub actions for QuPath and related repositories
https://github.com/qupath/actions
Last synced: 10 months ago
JSON representation
GitHub actions for QuPath and related repositories
- Host: GitHub
- URL: https://github.com/qupath/actions
- Owner: qupath
- License: apache-2.0
- Created: 2025-06-25T08:43:26.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T11:17:01.000Z (11 months ago)
- Last Synced: 2025-07-03T11:51:58.752Z (11 months ago)
- Language: Shell
- Size: 61.5 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub actions for QuPath
This repo contains reusable actions for QuPath-related projects.
## Usage
The basic gradle CI can be used as follows:
```yaml
jobs:
build:
uses: qupath/actions/.github/workflows/gradle.yml@main
```
For more complex builds, you can change the input variables, e.g.
```yaml
jobs:
build:
uses: qupath/actions/.github/workflows/gradle.yml@main
with:
java-version: 17
java-distribution: liberica
artifact-name: my-silly-artifact-name
gradle-args: shadowJar
```
Similarly, SciJava maven snapshots and releases can be made, respectively, using
```yaml
jobs:
snapshot:
uses: qupath/actions/.github/workflows/scijava-maven.yml@main
```
and
```yaml
jobs:
release:
uses: qupath/actions/.github/workflows/scijava-maven.yml@main
with:
release: true
```
Similar build arguments can be passed in here, although gradle arguments are "extra arguments" and don't replace the single `publish` command.
Github draft releases can be made with:
```yaml
jobs:
github-release:
uses: qupath/actions/.github/workflows/github-release.yml@main
```
This last action is a bit more complex as it requires downloading artifacts from the build action and globbing them...
Therefore it may not work as expected at first.
## Versioning
Currently it's probably best if we use main by default.
Once stable, we should consider tagging this repository to improve reproducibility and traceability.
## Updating repositories
You can bump the gradle version for all listed repos by going to Actions -> Update gradle versions -> Run workflow -> Run workflow.
You can specify the version if needed, although usually it will be better to use the default.
In future it may be possible to only update some repos, but this is not implemented yet.