Skip to content

Commit 57a9e56

Browse files
committed
this time it will work
1 parent 914eb6e commit 57a9e56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/wrap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ jobs:
7373
len=${#array[@]}
7474
if [[ $len -eq 0 ]]; then
7575
echo "No files to commit"
76-
echo "WRAPPED=$("False")" >> $GITHUB_ENV
76+
echo "WRAPPED=False" >> $GITHUB_ENV
7777
else
7878
echo "Committing changes"
7979
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
8080
git config --local user.name "github-actions[bot]"
8181
git add ${WRAPPED}
8282
git commit -m "Wrap translations"
83-
echo "WRAPPED=$("True")" >> $GITHUB_ENV
83+
echo "WRAPPED=True" >> $GITHUB_ENV
8484
fi
8585
8686
# Push changes
8787
- name: Push changes
88-
if: $WRAPPED == "True"
88+
if: env.WRAPPED == 'True'
8989
uses: ad-m/github-push-action@master
9090
with:
9191
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)