Skip to content

Commit 543771a

Browse files
authored
Merge pull request #32 from sbesson/gh_release
Upload Java 11 artifacts as release assets on tag
2 parents 204e4ea + 2d5c7f5 commit 543771a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,18 @@ jobs:
2626
with:
2727
name: omero-ms-thumbnail ${{ matrix.java }}
2828
path: build/distributions/*
29+
release:
30+
if: startsWith(github.ref, 'refs/tags')
31+
needs: build
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Download artifacts from build
35+
uses: actions/download-artifact@v4
36+
with:
37+
name: omero-ms-thumbnail 11
38+
- name: List artifacts
39+
run: ls -R
40+
- name: Release
41+
uses: softprops/action-gh-release@v1
42+
with:
43+
files: omero-ms-thumbnail-*

0 commit comments

Comments
 (0)