2022-04-26 14:32:52 -04:00
|
|
|
name: 💬 Crowdin Upload
|
2022-04-13 21:10:46 -04:00
|
|
|
|
|
|
|
on:
|
2022-10-23 19:02:21 -04:00
|
|
|
workflow_dispatch:
|
|
|
|
release:
|
|
|
|
types: [published]
|
2022-04-13 21:10:46 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
synchronize-with-crowdin:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout
|
2022-04-14 00:12:06 -04:00
|
|
|
uses: actions/checkout@v3
|
2022-04-13 21:10:46 -04:00
|
|
|
|
|
|
|
- name: crowdin action
|
2023-01-26 23:02:23 -05:00
|
|
|
uses: crowdin/github-action@v1.6.0
|
2022-04-13 21:10:46 -04:00
|
|
|
with:
|
|
|
|
upload_sources: true
|
|
|
|
upload_sources_args: '--auto-update --delete-obsolete'
|
|
|
|
upload_translations: false
|
|
|
|
download_translations: false
|
|
|
|
config: crowdin.yml
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|