From 92f68a17e6147bef827990705b5630a71f860665 Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 23 Jan 2024 00:32:04 -0500 Subject: [PATCH] ci/updatemessages: switch to new Crowdin client --- .github/workflows/updatemessages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/updatemessages.yml b/.github/workflows/updatemessages.yml index 03d0cae89c..26535f9f05 100644 --- a/.github/workflows/updatemessages.yml +++ b/.github/workflows/updatemessages.yml @@ -21,7 +21,7 @@ jobs: - name: Install requirements run: | sudo apt-get install gettext - curl -O https://artifacts.crowdin.com/repo/deb/crowdin.deb + wget https://artifacts.crowdin.com/repo/deb/crowdin3.deb -O crowdin.deb sudo dpkg -i crowdin.deb pip install -r requirements.txt pip install pymysql @@ -32,10 +32,10 @@ jobs: python manage.py makemessages -l en -d djangojs - name: Download strings from Crowdin env: - CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} + CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_V2_TOKEN }} run: | cat > crowdin.yaml <> crowdin.yaml + echo "api_token: ${CROWDIN_API_TOKEN}" >> crowdin.yaml crowdin download rm crowdin.yaml - name: Cleanup