mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-27 04:07:15 +00:00
Add a GitHub Action for uploading sources to Crowdin
This commit is contained in:
parent
153f5e09d8
commit
6955eb10da
1 changed files with 21 additions and 0 deletions
21
.github/workflows/crowdin.yml
vendored
Normal file
21
.github/workflows/crowdin.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: crowdin
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
upload-sources:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install crowdin-cli
|
||||
run: |
|
||||
wget https://github.com/crowdin/crowdin-cli/releases/download/3.2.1/crowdin-cli.zip
|
||||
echo "953e8714ca114b21eabd8f588d4b1c9e8ac1d1df3621176fc08ce611200f3108 crowdin-cli.zip" | sha256sum -c
|
||||
unzip crowdin-cli.zip -d crowdin-cli
|
||||
- name: Upload to Crowdin
|
||||
env:
|
||||
CROWDIN_SETTINGS: "${{ secrets.CROWDIN_SETTINGS }}"
|
||||
run: |
|
||||
echo "$CROWDIN_SETTINGS" > ~/.crowdin.yml
|
||||
java -jar ./crowdin-cli/3.2.1/crowdin-cli.jar push -c ~/.crowdin.yml -b master
|
Loading…
Add table
Add a link
Reference in a new issue