Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,42 +396,61 @@ jobs:
tar -czf openfx-$RELEASE_NAME.tar.gz -C Install OpenFX

- name: Sign header/libs tarball with Sigstore
if: github.event_name == 'release'
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
# if: github.event_name == 'release'
with:
inputs: openfx-${{ env.RELEASE_NAME }}.tar.gz
upload-signing-artifacts: false
release-signing-artifacts: false

- name: Upload header/libs tarball and signatures
if: github.event_name == 'release'
uses: actions/upload-artifact@v4
with:
name: "openfx-${{ env.RELEASE_NAME }}"
path: |
openfx-${{ env.RELEASE_NAME }}.tar.gz
openfx-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json

- name: Upload header/libs tarball (no signatures)
if: github.event_name != 'release'
uses: actions/upload-artifact@v4
with:
name: "openfx-${{ env.RELEASE_NAME }}"
path: |
openfx-${{ env.RELEASE_NAME }}.tar.gz

# Now the same, for the plugins

- name: Create built/installed plugins tarball
run: |
tar -czf openfx_plugins-$RELEASE_NAME.tar.gz -C build/Install .

- name: Sign plugins tarball with Sigstore
if: github.event_name == 'release'
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
with:
inputs: openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
upload-signing-artifacts: false
release-signing-artifacts: false

- name: Upload plugins tarball and signatures
if: github.event_name == 'release'
uses: actions/upload-artifact@v4
with:
name: "openfx_plugins-${{ env.RELEASE_NAME }}"
path: |
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json

- name: Upload plugins tarball (no signatures)
if: github.event_name != 'release'
uses: actions/upload-artifact@v4
with:
name: "openfx_plugins-${{ env.RELEASE_NAME }}"
path: |
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz

- name: Upload artifacts to release
if: github.event_name == 'release'
env:
Expand Down
Loading