Flatpak support, round two #10543
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |