File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 build :
12+ permissions :
13+ contents : read
1214 strategy :
1315 matrix :
1416 java : [8, 11, 17, 21]
4244 if : github.event_name != 'pull_request' && matrix.java == 11
4345 run : |
4446 ./gradlew -PArtifactoryUserName=${ArtifactoryUserName} -PArtifactoryPassword=${ArtifactoryPassword} publish
47+ release :
48+ permissions :
49+ contents : write
50+ if : startsWith(github.ref, 'refs/tags')
51+ needs : build
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v4
55+ - name : Download artifacts from build
56+ uses : actions/download-artifact@v4
57+ with :
58+ name : bioformats2raw 11
59+ - name : List artifacts
60+ run : ls -R
61+ - name : Create a GitHub release
62+ run : gh release create --generate-notes "${GITHUB_REF#refs/tags/}" bioformats2raw-*
63+ env :
64+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments