mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-22 11:55:54 +01:00
Tweak crowdin workflows
This commit is contained in:
parent
0557ba63de
commit
4d851bea18
2
.github/workflows/crowdin-download.yaml
vendored
2
.github/workflows/crowdin-download.yaml
vendored
@ -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
|
||||
|
6
.github/workflows/crowdin-upload.yaml
vendored
6
.github/workflows/crowdin-upload.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user