Skip to content

Commit

Permalink
Update Crowdin workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 4, 2024
1 parent 25b8597 commit 0771baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/crowdin_download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 0771baf

Please sign in to comment.