Skip to content

Commit

Permalink
Fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Dec 8, 2023
1 parent f836aba commit cd34dfb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ jobs:
with:
ref: test

- name: Set Environment Variable
run: |
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
echo "Setting MY_ENV_VAR for prerelease"
echo "MY_ENV_VAR=prerelease" >> $GITHUB_ENV
else
echo "Setting MY_ENV_VAR for regular release"
echo "MY_ENV_VAR=release" >> $GITHUB_ENV
fi
- name: Show Environment Variable
run: echo "MY_ENV_VAR is $MY_ENV_VAR"


- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit cd34dfb

Please sign in to comment.