Update CIs to correctly regenerate translations files

This commit is contained in:
sledgehammer999
2022-05-29 01:08:51 +03:00
parent 242874e705
commit 63cdfa2d85
4 changed files with 13 additions and 7 deletions

View File

@@ -64,7 +64,6 @@ jobs:
- name: Build qBittorrent (Qt5)
if: ${{ startsWith(matrix.qt_version, 5) }}
run: |
lupdate -extensions c,cpp,h,hpp,ui ./
cmake \
-B build \
-G "Ninja" \
@@ -73,13 +72,13 @@ jobs:
-DCMAKE_INSTALL_PREFIX="/usr" \
-DVERBOSE_CONFIGURE=ON \
-D${{ matrix.qbt_gui }}
cmake --build build --target qbt_update_translations
cmake --build build
DESTDIR="qbittorrent" cmake --install build
- name: Build qBittorrent (Qt6)
if: ${{ startsWith(matrix.qt_version, 6) }}
run: |
lupdate -extensions c,cpp,h,hpp,ui ./
cmake \
-B build \
-G "Ninja" \
@@ -89,6 +88,7 @@ jobs:
-DQT6=ON \
-DVERBOSE_CONFIGURE=ON \
-D${{ matrix.qbt_gui }}
cmake --build build --target qbt_update_translations
cmake --build build
DESTDIR="qbittorrent" cmake --install build