File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 3838 path : build/distributions/*.zip
3939 retention-days : 30
4040 - name : Publish artifacts
41- if : github.event_name != 'pull_request' && matrix.java == 11
41+ if : github.event_name != 'pull_request' && matrix.java == 11 && github.repository_owner == 'glencoesoftware'
4242 run : |
4343 ./gradlew -PArtifactoryUserName=${ArtifactoryUserName} -PArtifactoryPassword=${ArtifactoryPassword} publish
44+ release :
45+ if : startsWith(github.ref, 'refs/tags')
46+ needs : build
47+ runs-on : ubuntu-latest
48+ steps :
49+ - uses : actions/checkout@v4
50+ - name : Download artifacts from build
51+ uses : actions/download-artifact@v4
52+ with :
53+ name : raw2ometiff 8
54+ - name : List artifacts
55+ run : ls -R
56+ - name : Create a GitHub release
57+ run : gh release create --generate-notes "${GITHUB_REF#refs/tags/}" raw2ometiff-*
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments