Skip to content

Commit 3cfb583

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 3c3e832 + ac64a06 commit 3cfb583

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/create-translation-batch-pr.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ jobs:
6262
- name: Remove unwanted git hooks
6363
run: rm .git/hooks/post-checkout
6464

65-
- name: Install Crowdin CLI
65+
# https://support.crowdin.com/cli-tool/#debian
66+
- name: Download and install the public signing key
67+
run: wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -
68+
- name: Create the crowdin.list file in the /etc/apt/sources.list.d directory
6669
run: |
67-
wget https://artifacts.crowdin.com/repo/deb/crowdin3.deb -O /tmp/crowdin.deb
68-
sudo dpkg -i /tmp/crowdin.deb
70+
sudo touch /etc/apt/sources.list.d/crowdin.list
71+
echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list.d/crowdin.list
72+
- name: Install the Crowdin CLI Debian Package
73+
run: sudo apt-get update && sudo apt-get install crowdin3
6974

7075
# Delete empty source files that would be rejected by Crowdin breaking the workflow
7176
- name: Remove empty source files

0 commit comments

Comments
 (0)