CI(msvc): clean before deploy and use newer qt

This commit is contained in:
Gary Wang 2024-07-06 16:38:45 +08:00
parent a217ce9ee8
commit a6360d5e66
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -18,7 +18,7 @@ jobs:
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v3
with: with:
arch: 'win64_msvc2019_64' arch: 'win64_msvc2019_64'
version: '6.7.1' version: '6.7.2'
- name: Build - name: Build
shell: cmd shell: cmd
run: | run: |
@ -28,10 +28,11 @@ jobs:
call %VCVARS% ${{ matrix.msvc_arch }} call %VCVARS% ${{ matrix.msvc_arch }}
qmake pineapple-pictures.pro qmake pineapple-pictures.pro
nmake nmake
nmake clean
windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --skip-plugin-types tls,networkinformation release\ppic.exe windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --skip-plugin-types tls,networkinformation release\ppic.exe
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: windows-msvc2022-qt6.7.1-qmake-package name: windows-msvc2022-qt6.7.2-qmake-package
path: release/* path: release/*
msvc-cmake-build: msvc-cmake-build: