-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manual release to ImageJ action (#105)
- Loading branch information
1 parent
5bead03
commit 7383714
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release to Update Site | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Plugin version | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
build_release: | ||
runs-on: ubuntu-latest | ||
|
||
environment: | ||
name: release | ||
url: https://sites.imagej.net/Ilastik/plugins/ | ||
|
||
steps: | ||
- name: Install ImageJ/Fiji | ||
run: | | ||
curl --silent --remote-name https://downloads.imagej.net/fiji/latest/fiji-linux64.zip | ||
unzip fiji-linux64.zip | ||
./Fiji.app/ImageJ-linux64 --headless --update edit-update-site ilastik https://sites.imagej.net/Ilastik/ "webdav:ilastik-ci:${{ secrets.UPDATE_PASS }}" . | ||
- name: Download plugin JAR into ImageJ/Fiji | ||
run: curl \ | ||
--silent \ | ||
--remote-name https://maven.scijava.org/content/repositories/releases/org/ilastik/ilastik4ij/${{ inputs.version }}/ilastik4ij-${{ inputs.version }}.jar \ | ||
--output-dir ./Fiji.app/jars | ||
|
||
- name: Release to ImageJ update site | ||
run: ./Fiji.app/ImageJ-linux64 --headless --update upload-complete-site --force ilastik |