Skip to content

Commit 9826099

Browse files
authored
Trynto fix TX_TOKEN availability check in sync.yml (#249)
1 parent e10e52a commit 9826099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
shell: bash
6565
run: |
6666
available=false
67-
[ "${{ secrets.TX_TOKEN }}" != '' ] && available=true
67+
[[ "${{ secrets.TX_TOKEN }}" != '' ]] && available=true
6868
echo "available=$available" >> $GITHUB_OUTPUT
6969
echo "available=$available"
7070
@@ -113,7 +113,7 @@ jobs:
113113
powrap *.po **/*.po
114114
115115
- name: Update statistics
116-
if: always() && ${{ steps.secret-check.outputs.available != 'true' }}
116+
if: always() && steps.secret-check.outputs.available == 'true'
117117
run: |
118118
python ./scripts/tx_stats.py > ./${{ env.LANGUAGE_DIR }}/stats.json
119119
git -C ./${{ env.LANGUAGE_DIR }} diff stats.json

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy