Skip to content

Commit

Permalink
Kind of works, but env variables don't pass jobs--could convert to GI…
Browse files Browse the repository at this point in the history
…THUB_OUTPUT
  • Loading branch information
TimRoe committed Dec 16, 2023
1 parent 12429ef commit 678ba93
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,6 @@ jobs:
if: failure() && steps.built.conclusion == 'failure'
run: |
echo $BUILD_SUCCESS
echo 'BUILD_SUCCESS=false' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo '{BUILD_SUCCESS}=false' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo '{BUILD_SUCCESS}={false}' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo 'env.BUILD_SUCCESS=false' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo '{env.BUILD_SUCCESS}=false' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo '{env.BUILD_SUCCESS}={false}' >> '$GITHUB_ENV'
echo $BUILD_SUCCESS
echo 'BUILD_SUCCESS=false' >> $GITHUB_ENV
echo $BUILD_SUCCESS
echo '{BUILD_SUCCESS}=false' >> $GITHUB_ENV
echo $BUILD_SUCCESS
echo '{BUILD_SUCCESS}={false}' >> $GITHUB_ENV
echo $BUILD_SUCCESS
echo 'env.BUILD_SUCCESS=false' >> $GITHUB_ENV
echo $BUILD_SUCCESS
echo '{env.BUILD_SUCCESS}=false' >> $GITHUB_ENV
echo $BUILD_SUCCESS
echo '{env.BUILD_SUCCESS}={false}' >> $GITHUB_ENV
echo $BUILD_SUCCESS
tokens-build-success:
name: Build Process Success/Failure
Expand All @@ -114,5 +89,5 @@ jobs:
if: ${{ env.BUILD_SUCCESS == 'true' }}
run: echo Great success!
- name: Tokens Build Failure
if: ${{ env.BUILD_SUCCESS == 'false' }}
if: success() || ${{ env.BUILD_SUCCESS == 'false' }}
run: exit 1

0 comments on commit 678ba93

Please sign in to comment.