Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38df3e3

Browse files
authored
Fix IF syntax in sync.yml
1 parent e3907bb commit 38df3e3

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
@@ -57,7 +57,7 @@ jobs:
5757
id: pyver
5858
shell: bash
5959
run: |
60-
if [[ "${{ inputs.py_bin_ver }}" != '' ]]
60+
if [[ "${{ inputs.py_bin_ver }}" != '' ]]; then
6161
pyver=${{ inputs.py_bin_ver }}
6262
else
6363
pyver=$PYDOC_VERSION
@@ -80,7 +80,7 @@ jobs:
8080
shell: bash
8181
run: |
8282
available=false
83-
[ "${{ secrets.TX_TOKEN }}" != '' ] && available=true
83+
[[ "${{ secrets.TX_TOKEN }}" != '' ]] && available=true
8484
echo "available=$available" >> $GITHUB_OUTPUT
8585
echo "available=$available"
8686

0 commit comments

Comments
 (0)