-
-
Notifications
You must be signed in to change notification settings - Fork 822
42 lines (34 loc) · 1 KB
/
upload_texts.yml
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
39
40
41
42
name: Upload source texts to Crowdin
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
crowdin:
runs-on: ubuntu-24.04
if: github.repository == 'ruffle-rs/ruffle'
strategy:
max-parallel: 1 # Should be 1 to avoid parallel builds
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install -y itstool gettext appstream
- name: Generate desktop & metainfo sources
working-directory: desktop/packages/linux
run: |
make update
- name: Upload intermediate files
uses: actions/upload-artifact@v4
with:
path: desktop/packages/linux/locale
- name: Crowdin push
uses: crowdin/github-action@v2
with:
config: 'crowdin.yml'
upload_sources: true
upload_translations: false
download_translations: false
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}