-
Notifications
You must be signed in to change notification settings - Fork 113
51 lines (45 loc) · 1.09 KB
/
translations.yaml
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
43
44
45
46
47
48
49
50
51
name: Translations
on:
push:
branches:
- main
- "releases/**"
pull_request:
branches:
- main
- "releases/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
translations:
name: Translations
runs-on: ubuntu-22.04
env:
QTVERSION: 6.2.4
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install -y $(./scripts/linux/getdeps.py -a linux/debian/control)
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install python dependencies
run: |
pip install -r requirements.txt
- name: Generating translations
run: |
./scripts/utils/generate_ts.sh
- name: Uploading
uses: actions/upload-artifact@v3
with:
name: Translation files
path: |
translations.ts
addon_ts/*.ts