Update Qt version in release workflow to 6.8.3
This commit is contained in:
@@ -20,34 +20,34 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install Qt via aqtinstall
|
|
||||||
if: steps.cache-qt.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install aqtinstall
|
|
||||||
python -m aqt install-qt windows desktop 6.11.1 win64_msvc2022_64 --outputdir ${{ github.workspace }}/Qt
|
|
||||||
|
|
||||||
- name: Add Qt to PATH
|
|
||||||
run: |
|
|
||||||
echo "${{ github.workspace }}/Qt/6.11.1/msvc2022_64/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: Install libgit2 via vcpkg
|
|
||||||
run: |
|
|
||||||
vcpkg install libgit2:x64-windows
|
|
||||||
|
|
||||||
- name: Cache Qt
|
- name: Cache Qt
|
||||||
id: cache-qt
|
id: cache-qt
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/Qt
|
path: ${{ github.workspace }}/Qt
|
||||||
key: qt-6.11.1-msvc2022_64
|
key: qt-6.8.3-msvc2022_64
|
||||||
|
|
||||||
|
- name: Install Qt via aqtinstall
|
||||||
|
if: steps.cache-qt.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install aqtinstall
|
||||||
|
python -m aqt install-qt windows desktop 6.8.3 win64_msvc2022_64 --outputdir ${{ github.workspace }}/Qt
|
||||||
|
|
||||||
|
- name: Add Qt to PATH
|
||||||
|
run: |
|
||||||
|
echo "${{ github.workspace }}/Qt/6.8.3/msvc2022_64/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Install libgit2 via vcpkg
|
||||||
|
run: |
|
||||||
|
vcpkg install libgit2:x64-windows
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: |
|
||||||
$version = "${{ github.ref_name }}" -replace '^v', ''
|
$version = "${{ github.ref_name }}" -replace '^v', ''
|
||||||
cmake -B build -S . `
|
cmake -B build -S . `
|
||||||
-DCMAKE_BUILD_TYPE=Release `
|
-DCMAKE_BUILD_TYPE=Release `
|
||||||
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/Qt/6.11.1/msvc2022_64" `
|
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/Qt/6.8.3/msvc2022_64" `
|
||||||
-DLIBGIT2_INCLUDE_DIR="C:/vcpkg/installed/x64-windows/include" `
|
-DLIBGIT2_INCLUDE_DIR="C:/vcpkg/installed/x64-windows/include" `
|
||||||
-DLIBGIT2_LIBRARY="C:/vcpkg/installed/x64-windows/lib/git2.lib" `
|
-DLIBGIT2_LIBRARY="C:/vcpkg/installed/x64-windows/lib/git2.lib" `
|
||||||
-DCPACK_PACKAGE_VERSION="$version"
|
-DCPACK_PACKAGE_VERSION="$version"
|
||||||
|
|||||||
Reference in New Issue
Block a user