Tweak crowdin workflows

This commit is contained in:
Vankka 2023-07-19 20:51:34 +03:00
parent 674ddea340
commit 2518bfc971
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 12 additions and 6 deletions

View File

@ -16,15 +16,19 @@ jobs:
with: with:
upload_sources: false upload_sources: false
upload_translations: false upload_translations: false
download_sources: false
download_translations: true download_translations: true
download_translations_args: "--verbose"
localization_branch_name: i18n localization_branch_name: i18n
create_pull_request: true create_pull_request: true
commit_message: "New Crowdin translations"
pull_request_title: "New Crowdin translations" pull_request_title: "New Crowdin translations"
pull_request_body: "" pull_request_base_branch_name: "main"
source: "i18n/build/source.yaml"
translation: "/%three_letters_code%.yaml"
download_translations_args: "--verbose"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
source: "i18n/build/source.yaml"
translation: "/i18n/src/main/resources/translations/%three_letters_code%.%file_extension%"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -26,10 +26,12 @@ jobs:
with: with:
upload_sources: true upload_sources: true
upload_translations: false upload_translations: false
download_sources: false
download_translations: false download_translations: false
source: "i18n/build/source.yaml"
translation: "/%three_letters_code%.yaml"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
source: "i18n/build/source.yaml"
translation: "/i18n/src/main/resources/translations/%three_letters_code%.%file_extension%"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}