Skip to content

Commit 8ecacba

Browse files
committed
Fix setting an env variable in GH Action
1 parent d796423 commit 8ecacba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-lint-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: git config --local user.email github-actions@github.com
3838
- run: git config --local user.name "GitHub Action's update-translation job"
3939
- run: >
40-
if [$(git diff --ignore-matching-lines='^"POT-Creation-Date: ' | wc -l) -ne 0 ]; then export SIGNIFICANT_CHANGES=1; fi
40+
if [$(git diff --ignore-matching-lines='^"POT-Creation-Date: ' | wc -l) -ne 0 ]; then echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV; fi
4141
- run: git add .
4242
- run: git commit -m 'Update translation from Transifex' || true
4343
if: env.SIGNIFICANT_CHANGES

0 commit comments

Comments
 (0)