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 }}