Add the missing --target
flag
#2
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, pull_request] | |
jobs: | |
lupdate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Qt | |
run: | | |
sudo apt-mark hold grub-efi-amd64-signed | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install qtbase5-dev qtbase5-doc-dev qtconnectivity5-dev qtconnectivity5-doc-html qttools5-dev qttools5-dev-tools | |
- name: Check translation files | |
run: | | |
cmake -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" | |
cmake --build "$RUNNER_TEMP" --target {cli,gui,QtPokit}_lupdate | |
[[ -z $(git status --porcelain | tee /dev/stderr) ]] |