Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVanDyck committed Dec 13, 2024
1 parent c898cf9 commit d74c560
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/update-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ jobs:
- name: Install Crowdin CLI
run: |
set -e -o pipefail -x
curl -sSLO https://github.com/crowdin/crowdin-cli/releases/latest/download/crowdin-cli.zip -o crowdin-cli.zip
unzip -j crowdin-cli.zip '*/crowdin-cli.jar'
rm crowdin-cli.zip
curl -sSLO https://github.com/crowdin/crowdin-cli/releases/latest/download/crowdin-cli.zip -z $HOME/crowdin-cli.zip -o $HOME/crowdin-cli.zip
unzip -j $HOME/crowdin-cli.zip '*/crowdin-cli.jar'
mkdir $HOME/.bin || true
mv crowdin-cli.jar $HOME/.bin/crowdin-cli.jar
cat <<EOF > $HOME/.bin/crowdin
#!/bin/bash
exec java -jar '$HOME/.bin/crowdin-cli.jar' "--no-progress \$@"
exec java -jar '$HOME/.bin/crowdin-cli.jar' "\$@ --no-progress"
EOF
chmod +x $HOME/.bin/crowdin
Expand Down

0 comments on commit d74c560

Please sign in to comment.