Skip to content

Commit

Permalink
More variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe committed Dec 15, 2023
1 parent af1d519 commit 21c0564
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
id: diff
working-directory: packages/tokens
run: |
echo $var.BUILD_SUCCESS
echo $BUILD_SUCCESS
echo '$BUILD_SUCCESS'
git commit --dry-run
# - name: No changes to figma tokens
# id: noDiff
Expand All @@ -61,9 +64,6 @@ jobs:
if: success() && steps.diff.conclusion == 'success'
working-directory: packages/tokens
run: |
echo $var.BUILD_SUCCESS
echo $BUILD_SUCCESS
echo '$BUILD_SUCCESS'
git commit -m 'Build latest figma tokens'
git push
echo 'test=built' >> 'Built latest figma tokens'
Expand All @@ -76,7 +76,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Test output
run: echo $var.BUILD_SUCCESS
run: |
echo ${{ $var.BUILD_SUCCESS }}
echo ${{ vars.BUILD_SUCCESS == 'true' }}
${{ vars.BUILD_SUCCESS == 'false' }}
- name: Tokens Build Succeeded
if: ${{ vars.BUILD_SUCCESS == 'true' }}
run: echo Great success!
Expand Down

0 comments on commit 21c0564

Please sign in to comment.