Skip to content

Commit a3745a7

Browse files
committed
Merge remote-tracking branch 'upstream/main' into colourspace-example-updates
2 parents cdd7bbc + fc1c403 commit a3745a7

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,42 +396,61 @@ jobs:
396396
tar -czf openfx-$RELEASE_NAME.tar.gz -C Install OpenFX
397397
398398
- name: Sign header/libs tarball with Sigstore
399+
if: github.event_name == 'release'
399400
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
400-
# if: github.event_name == 'release'
401401
with:
402402
inputs: openfx-${{ env.RELEASE_NAME }}.tar.gz
403403
upload-signing-artifacts: false
404404
release-signing-artifacts: false
405405

406406
- name: Upload header/libs tarball and signatures
407+
if: github.event_name == 'release'
407408
uses: actions/upload-artifact@v4
408409
with:
409410
name: "openfx-${{ env.RELEASE_NAME }}"
410411
path: |
411412
openfx-${{ env.RELEASE_NAME }}.tar.gz
412413
openfx-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
413414
415+
- name: Upload header/libs tarball (no signatures)
416+
if: github.event_name != 'release'
417+
uses: actions/upload-artifact@v4
418+
with:
419+
name: "openfx-${{ env.RELEASE_NAME }}"
420+
path: |
421+
openfx-${{ env.RELEASE_NAME }}.tar.gz
422+
414423
# Now the same, for the plugins
415424

416425
- name: Create built/installed plugins tarball
417426
run: |
418427
tar -czf openfx_plugins-$RELEASE_NAME.tar.gz -C build/Install .
419428
420429
- name: Sign plugins tarball with Sigstore
430+
if: github.event_name == 'release'
421431
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
422432
with:
423433
inputs: openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
424434
upload-signing-artifacts: false
425435
release-signing-artifacts: false
426436

427437
- name: Upload plugins tarball and signatures
438+
if: github.event_name == 'release'
428439
uses: actions/upload-artifact@v4
429440
with:
430441
name: "openfx_plugins-${{ env.RELEASE_NAME }}"
431442
path: |
432443
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
433444
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
434445
446+
- name: Upload plugins tarball (no signatures)
447+
if: github.event_name != 'release'
448+
uses: actions/upload-artifact@v4
449+
with:
450+
name: "openfx_plugins-${{ env.RELEASE_NAME }}"
451+
path: |
452+
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
453+
435454
- name: Upload artifacts to release
436455
if: github.event_name == 'release'
437456
env:

0 commit comments

Comments
 (0)