Skip to content

Commit

Permalink
Trynto fix TX_TOKEN availability check in sync.yml (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Nov 25, 2024
1 parent e10e52a commit 9826099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
shell: bash
run: |
available=false
[ "${{ secrets.TX_TOKEN }}" != '' ] && available=true
[[ "${{ secrets.TX_TOKEN }}" != '' ]] && available=true
echo "available=$available" >> $GITHUB_OUTPUT
echo "available=$available"
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
powrap *.po **/*.po
- name: Update statistics
if: always() && ${{ steps.secret-check.outputs.available != 'true' }}
if: always() && steps.secret-check.outputs.available == 'true'
run: |
python ./scripts/tx_stats.py > ./${{ env.LANGUAGE_DIR }}/stats.json
git -C ./${{ env.LANGUAGE_DIR }} diff stats.json
Expand Down

0 comments on commit 9826099

Please sign in to comment.