fix: correctly read exit status (#914)

This commit is contained in:
Baptiste Augrain
2021-11-10 10:40:20 +01:00
committed by GitHub
parent cf48030b59
commit 23313d41ba
3 changed files with 7 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ jobs:
- name: Release
env:
GH_CLI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./release.sh
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'

View File

@@ -82,7 +82,7 @@ jobs:
- name: Release
env:
GH_CLI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./release.sh
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'