See which one worked #316
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, pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
lupdate: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Install Qt | |
run: | | |
sudo apt-mark hold firefox grub-efi-amd64-signed | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install qt6-{base-{dev{,-tools},doc-dev},connectivity-{dev,doc-html},l10n-tools,tools-dev{,-tools}} | |
- uses: actions/checkout@v4 | |
- name: Check translation files | |
run: | | |
cmake -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" | |
cmake --build "$RUNNER_TEMP" --target {cli,QtPokit}_lupdate # \todo Include gui too, when relevant. | |
[[ -z $(git status --porcelain | tee /dev/stderr) ]] |