main
zhuzihcu 2023-03-08 16:02:09 +08:00
parent b1d57c43c4
commit a81e7958c5
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ jobs:
qt_tools: "tools_mingw,8.1.0-1-202004170606,qt.tools.win64_mingw810"
qt_tools_mingw_install: mingw810_64
env:
targetName: example.exe
targetName: example
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2
@ -65,7 +65,7 @@ jobs:
- name: package
id: package
env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName%.* }}-${{ matrix.qt_arch }}
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName }}-${{ matrix.qt_arch }}
shell: pwsh
run: |
& scripts\windows-mingw-publish.ps1 ${env:archiveName} ${env:targetName}

View File

@ -31,7 +31,7 @@ jobs:
msvc_arch: x64
qt_arch_install: msvc2019_64
env:
targetName: example.exe
targetName: example
# 步骤
steps:
# 安装Qt
@ -66,7 +66,7 @@ jobs:
- name: package
id: package
env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName%.* }}-${{ matrix.qt_arch }}
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName }}-${{ matrix.qt_arch }}
msvcArch: ${{ matrix.msvc_arch }}
shell: pwsh
run: |