-
Notifications
You must be signed in to change notification settings - Fork 826
38 lines (35 loc) · 1.31 KB
/
Copy pathcrowdin.yml
File metadata and controls
38 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Crowdin Action
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
# Named rather than globbed, to match crowdin.yml. The trigger's matching rules and the
# CLI's are defined independently — notably on whether `*` may match nothing — and a
# trigger that quietly never fires is the worse failure.
- manager/src/main/res/values/strings.xml
- manager-ui/src/main/res/values/strings_appearance.xml
- manager-ui/src/main/res/values/strings_language.xml
- manager-ui/src/main/res/values/strings_logs.xml
- manager-ui/src/main/res/values/strings_modules.xml
- manager-ui/src/main/res/values/strings_nav.xml
- manager-ui/src/main/res/values/strings_store.xml
- manager-ui/src/main/res/values/strings_trace.xml
- daemon/src/main/res/values/strings.xml
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: crowdin action
uses: crowdin/github-action@v2
with:
upload_translations: true
download_translations: false
upload_sources: true
config: 'crowdin.yml'
crowdin_branch_name: master
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}