Tweak crowdin workflows

This commit is contained in:
Vankka 2023-07-19 18:51:55 +03:00
parent 0557ba63de
commit 4d851bea18
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download translations from Crowdin
uses: crowdin/github-action@1.11.0
uses: crowdin/github-action@v1
with:
upload_translations: false
download_translations: true

View File

@ -22,11 +22,11 @@ jobs:
- name: Generate translation source
run: "java -jar i18n/build/libs/i18n-all.jar"
- name: Upload translations to Crowdin
uses: crowdin/github-action@1.11.0
uses: crowdin/github-action@v1
with:
upload_translations: true
upload_sources: true
upload_translations: false
download_translations: false
localization_branch_name: i18n
source: "source.yaml"
translation: "/%original_path%/src/main/resources/translations/%three_letters_code%.yaml"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}