Skip to content

Commit

Permalink
Clean up release names, add gh on linux
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Oberbrunner <[email protected]>
  • Loading branch information
garyo committed Nov 26, 2024
1 parent f5d0a5a commit d4c465f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
echo "BUILD_DIR=build/${{ matrix.buildtype }}" >> $GITHUB_ENV
- name: Set RELEASE_NAME
# this looks like "linux-vfx2022-release-1.5[-no-opengl]"; used in filenames
# this looks like "linux-vfx2022-1.5[-no-opengl]"; used in filenames
run: |
RELEASE_PREFIX=${{ matrix.release_prefix }}
OPENGL_BUILD=${{ env.OPENGL_BUILD }}
Expand All @@ -194,7 +194,7 @@ jobs:
else
REF_SUFFIX=$(echo ${{ github.sha }} | cut -c1-8)
fi
echo "RELEASE_NAME=${RELEASE_PREFIX}-${BUILDTYPE_LC}-${REF_SUFFIX}${OPENGL_BUILD}" >> $GITHUB_ENV
echo "RELEASE_NAME=${RELEASE_PREFIX}-${REF_SUFFIX}${OPENGL_BUILD}" >> $GITHUB_ENV
- name: Set up python 3.11
uses: actions/setup-python@v5
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
uses: ConorMacBride/install-package@v1
if: ${{ matrix.aswfdockerbuild == false }}
with:
apt: libgl-dev libgl1-mesa-dev
apt: libgl-dev libgl1-mesa-dev gh
brew: ''
brew-cask: ''

Expand Down Expand Up @@ -407,22 +407,22 @@ jobs:

- name: Create built/installed plugins tarball
run: |
tar -czf openfx-plugins-$RELEASE_NAME.tar.gz -C build/Install .
tar -czf openfx_plugins-$RELEASE_NAME.tar.gz -C build/Install .
- name: Sign plugins tarball with Sigstore
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
with:
inputs: openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz
inputs: openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
upload-signing-artifacts: false
release-signing-artifacts: false

- name: Upload plugins tarball and signatures
uses: actions/upload-artifact@v4
with:
name: "openfx-plugins-${{ env.RELEASE_NAME }}"
name: "openfx_plugins-${{ env.RELEASE_NAME }}"
path: |
openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz
openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
- name: Upload artifacts to release
if: github.event_name == 'release'
Expand All @@ -433,5 +433,5 @@ jobs:
gh release upload ${TAG} \
openfx-${{ env.RELEASE_NAME }}.tar.gz \
openfx-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json \
openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz \
openfx-plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz \
openfx_plugins-${{ env.RELEASE_NAME }}.tar.gz.sigstore.json

0 comments on commit d4c465f

Please sign in to comment.