Skip to content

Commit

Permalink
May have it now
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe committed Dec 16, 2023
1 parent 5e00ea3 commit 57b5bc4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,19 @@ jobs:
git config --global user.email '[email protected]'
git pull
git add -f figma/
git status --porcelain 2>/dev/null| egrep "^(A| A|M| M|D| D)" | wc -l
- name: Check figma diff
id: diff
working-directory: packages/tokens
run: |
echo $FILES_MODIFIED
git status --porcelain 2>/dev/null | egrep "^(M| M|D| D)" | wc -l
echo "FILES_MODIFIED=$(git status --porcelain 2>/dev/null| egrep "^(M| M|D| D)" | wc -l)" >> $GITHUB_ENV
git status --porcelain 2>/dev/null| egrep "^(A| A|M| M|D| D)" | wc -l
echo "FILES_MODIFIED=$(git status --porcelain 2>/dev/null| egrep "^(A| A|M| M|D| D)" | wc -l)" >> $GITHUB_ENV
- name: No changes to figma tokens
if: ${{ env.FILES_MODIFIED == '0' }}
run: |
echo $FILES_MODIFIED
echo No changes to figma tokens
# run: |
# echo 'test=noDiff' >> 'No changes to figma tokens'
- name: Commit latest figma tokens
id: built
if: ${{ env.FILES_MODIFIED == '1' }}
Expand Down

0 comments on commit 57b5bc4

Please sign in to comment.