38 lines
770 B
YAML
38 lines
770 B
YAML
name: i18n
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- i18n/*
|
|
|
|
jobs:
|
|
buildI18n:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Python Setup
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.13"
|
|
architecture: x64
|
|
|
|
- name: Checkout Source
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install System Packages
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install qttools5-dev-tools
|
|
|
|
- name: Build Assets
|
|
run: python pkgutils.py qtlrelease
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: nw-i18n
|
|
path: novelwriter/assets/i18n/*.qm
|
|
if-no-files-found: error
|
|
retention-days: 7
|