From 21c0564bf8ac40c1a802eefcb3a9029c32a89a11 Mon Sep 17 00:00:00 2001 From: Tim R Date: Fri, 15 Dec 2023 17:49:21 -0600 Subject: [PATCH] More variable --- .github/workflows/tokens-build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tokens-build.yml b/.github/workflows/tokens-build.yml index ff78e915..41c9248a 100644 --- a/.github/workflows/tokens-build.yml +++ b/.github/workflows/tokens-build.yml @@ -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 @@ -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' @@ -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!