From 76c31c419759d15d8ea74fce94cee5353056ba76 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Tue, 17 Dec 2024 11:34:49 -0600 Subject: [PATCH] Fixed PACKAGE env variable --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b65cc9cf..655147d1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -83,16 +83,19 @@ jobs: # git push # git push --tags echo "PACKAGE=true" >> $GITHUB_ENV + export PACKAGE=true ;; dev) bump-my-version bump --allow-dirty --verbose --no-commit --no-tag "$RELEASE_KIND" echo "PACKAGE=true" >> $GITHUB_ENV + export PACKAGE=true ;; *) echo "PACKAGE=false" >> $GITHUB_ENV + export PACKAGE=false esac - echo "package=${{ env.PACKAGE }}" >> $GITHUB_OUTPUT + echo "package=$PACKAGE" >> $GITHUB_OUTPUT - name: Package and upload artifacts if: ${{ env.PACKAGE == 'true' }}