-
-
Notifications
You must be signed in to change notification settings - Fork 858
35 lines (28 loc) · 820 Bytes
/
lupdate.yml
File metadata and controls
35 lines (28 loc) · 820 Bytes
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
name: Update translation files
on:
workflow_dispatch:
schedule:
- cron: '35 1 * * 0'
jobs:
lupdate:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v6
with:
submodules: true
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.5'
modules: 'qt5compat'
cache: true
- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Update translations
run: cmake --build build --target update_translations
- name: Commit translation changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Update translation files
file_pattern: 'i18n/NotepadNext_en.ts'