diff --git a/.github/workflows/create-translation-batch-pr.yml b/.github/workflows/create-translation-batch-pr.yml index 6b7edffb10..791999bf03 100644 --- a/.github/workflows/create-translation-batch-pr.yml +++ b/.github/workflows/create-translation-batch-pr.yml @@ -62,10 +62,15 @@ jobs: - name: Remove unwanted git hooks run: rm .git/hooks/post-checkout - - name: Install Crowdin CLI + # https://support.crowdin.com/cli-tool/#debian + - name: Download and install the public signing key + run: wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add - + - name: Create the crowdin.list file in the /etc/apt/sources.list.d directory run: | - wget https://artifacts.crowdin.com/repo/deb/crowdin3.deb -O /tmp/crowdin.deb - sudo dpkg -i /tmp/crowdin.deb + sudo touch /etc/apt/sources.list.d/crowdin.list + echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list.d/crowdin.list + - name: Install the Crowdin CLI Debian Package + run: sudo apt-get update && sudo apt-get install crowdin3 # Delete empty source files that would be rejected by Crowdin breaking the workflow - name: Remove empty source files