File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build OpenFX libs and examples
22
33permissions :
44 id-token : write
5- contents : read
5+ contents : write
66 actions : write
77
88on :
@@ -411,7 +411,6 @@ jobs:
411411
412412 - name : Sign plugins tarball with Sigstore
413413 uses : sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
414- # if: github.event_name == 'release'
415414 with :
416415 inputs : openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz
417416 upload-signing-artifacts : false
@@ -424,3 +423,15 @@ jobs:
424423 path : |
425424 openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz
426425 openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
426+
427+ - name : Upload artifacts to release
428+ if : github.event_name == 'release'
429+ env :
430+ GH_TOKEN : ${{ github.token }}
431+ TAG : ${{ github.ref_name }}
432+ run : |
433+ gh release upload ${TAG} \
434+ openfx-${{ env.RELEASE_NAME }}.tar.gz \
435+ openfx-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json \
436+ openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz \
437+ openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
You can’t perform that action at this time.
0 commit comments