mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-20 17:00:34 +00:00
Update crowdin-cli to 3.7.2
This commit is contained in:
parent
6955eb10da
commit
86580e38af
1 changed files with 14 additions and 5 deletions
19
.github/workflows/crowdin.yml
vendored
19
.github/workflows/crowdin.yml
vendored
|
@ -3,6 +3,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
# run sequentially (per branch)
|
||||||
|
concurrency: "crowdin-upload-${{ github.ref }}"
|
||||||
jobs:
|
jobs:
|
||||||
upload-sources:
|
upload-sources:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -10,12 +12,19 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install crowdin-cli
|
- name: Install crowdin-cli
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/crowdin/crowdin-cli/releases/download/3.2.1/crowdin-cli.zip
|
wget https://github.com/crowdin/crowdin-cli/releases/download/3.7.2/crowdin-cli.zip
|
||||||
echo "953e8714ca114b21eabd8f588d4b1c9e8ac1d1df3621176fc08ce611200f3108 crowdin-cli.zip" | sha256sum -c
|
echo "ee9f838b819ccedc33c9b2537055e5ba7d7934561b24df1e1a6274cbd6e27f2d crowdin-cli.zip" | sha256sum -c
|
||||||
unzip crowdin-cli.zip -d crowdin-cli
|
unzip crowdin-cli.zip -d crowdin-cli
|
||||||
- name: Upload to Crowdin
|
- name: Upload to Crowdin
|
||||||
env:
|
env:
|
||||||
CROWDIN_SETTINGS: "${{ secrets.CROWDIN_SETTINGS }}"
|
CROWDIN_TOKEN: "${{ secrets.CROWDIN_TOKEN }}"
|
||||||
run: |
|
run: |
|
||||||
echo "$CROWDIN_SETTINGS" > ~/.crowdin.yml
|
java -jar ./crowdin-cli/3.7.2/crowdin-cli.jar upload sources \
|
||||||
java -jar ./crowdin-cli/3.2.1/crowdin-cli.jar push -c ~/.crowdin.yml -b master
|
--no-progress \
|
||||||
|
--token "$CROWDIN_TOKEN" \
|
||||||
|
--project-id 372633 \
|
||||||
|
--base-path app/src/main \
|
||||||
|
--source res/values/strings.xml \
|
||||||
|
--translation "res/values-%android_code%/%original_file_name%" \
|
||||||
|
--dest strings.xml \
|
||||||
|
--branch master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue