2024-05-20 00:25:35 +00:00
|
|
|
name: ASF-crowdin-ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
upload:
|
2024-05-23 18:06:09 +00:00
|
|
|
environment: dev-crowdin
|
2024-05-20 00:25:35 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2024-06-12 20:57:14 +00:00
|
|
|
uses: actions/checkout@v4.1.7
|
2024-05-20 00:25:35 +00:00
|
|
|
with:
|
|
|
|
show-progress: false
|
|
|
|
submodules: recursive
|
|
|
|
|
|
|
|
- name: Upload latest strings for translation on Crowdin
|
2024-07-26 15:05:06 +00:00
|
|
|
uses: crowdin/github-action@v2.1.1
|
2024-05-20 00:25:35 +00:00
|
|
|
with:
|
|
|
|
crowdin_branch_name: main
|
|
|
|
config: '.github/crowdin.yml'
|
|
|
|
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
|
|
|
|
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
|