From 21c02e415aa07a6b9ac8add469eb03b6ddb1c754 Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Mon, 13 May 2024 21:06:01 +0200 Subject: [PATCH] fix(ci): fix translation build --- .github/workflows/build_release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index ae0c137d..39696824 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -24,13 +24,20 @@ jobs: - name: Get source code uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + cache: "pip" + - name: Install system requirements run: | sudo apt update sudo apt install qt5-qmake qttools5-dev-tools + python3 -m pip install -U pyqt5-tools - name: Update translations - run: lupdate -noobsolete -verbose ${{ env.PROJECT_FOLDER }}/resources/i18n/plugin_translation.pro + run: pylupdate5 -noobsolete -verbose ${{ env.PROJECT_FOLDER }}/resources/i18n/plugin_translation.pro - name: Compile translations run: lrelease ${{ env.PROJECT_FOLDER }}/resources/i18n/*.ts