From 0771bafea9ef9a09faf3f1835072d1863bfde6bf Mon Sep 17 00:00:00 2001 From: hawkeye116477 Date: Mon, 4 Nov 2024 15:35:10 +0100 Subject: [PATCH] Update Crowdin workflows --- .github/workflows/crowdin_download.yml | 6 ++++-- .github/workflows/crowdin_upload.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crowdin_download.yml b/.github/workflows/crowdin_download.yml index d5683ae..250c283 100644 --- a/.github/workflows/crowdin_download.yml +++ b/.github/workflows/crowdin_download.yml @@ -16,13 +16,15 @@ jobs: - name: Install and Configure Python shell: bash run: | - pip install lxml requests crowdin-api-client --no-cache-dir + sudo apt-get update + sudo apt-get -y install python3-lxml python3-requests + pip install crowdin-api-client --no-cache-dir - name: Download translations from Crowdin run: | python3 ./make_scripts/download_translations.py env: - crowdin_project_id: ${{ secrets.CROWDIN_PROJECT_ID }} + crowdin_project_id: ${{ vars.CROWDIN_PROJECT_ID }} crowdin_token: ${{ secrets.CROWDIN_TOKEN }} - name: Create Pull Request diff --git a/.github/workflows/crowdin_upload.yml b/.github/workflows/crowdin_upload.yml index ca6cb04..048661f 100644 --- a/.github/workflows/crowdin_upload.yml +++ b/.github/workflows/crowdin_upload.yml @@ -17,5 +17,5 @@ jobs: download_translations: false config: 'crowdin.yml' dryrun_action: false - project_id: ${{ secrets.CROWDIN_PROJECT_ID }} + project_id: ${{ vars.CROWDIN_PROJECT_ID }} token: ${{ secrets.CROWDIN_TOKEN }}