chore: Fix Crowdin sync action

This commit is contained in:
Artem Chepurnoy 2024-06-06 11:32:44 +03:00
parent 8b9fc0d3fc
commit ce4b113d4c
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 5 additions and 0 deletions

View File

@ -26,10 +26,15 @@ jobs:
upload_translations: false
download_translations: true
config: 'crowdin.yml'
create_pull_request: false
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
# https://github.com/crowdin/github-action/issues/229
- name: Fix permissions Crowdin created
run: |
sudo chmod -R 644 common/src/commonMain/composeResources/values-*/*.xml
- name: "Update library"
run: |
python .github/update_localization.py