main
zhuzihcu 2023-03-08 16:13:52 +08:00
parent b864be5f67
commit 3fbd494724
2 changed files with 4 additions and 2 deletions

View File

@ -27,6 +27,7 @@ jobs:
qt_tools_mingw_install: mingw810_64
env:
targetName: example.exe
fileName: example
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2
@ -65,7 +66,7 @@ jobs:
- name: package
id: package
env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName:0:-4 }}-${{ matrix.qt_arch }}
archiveName: ${{ matrix.qt_ver }}-${{ env.fileName }}-${{ matrix.qt_arch }}
shell: pwsh
run: |
& scripts\windows-mingw-publish.ps1 ${env:archiveName} ${env:targetName}

View File

@ -32,6 +32,7 @@ jobs:
qt_arch_install: msvc2019_64
env:
targetName: example.exe
fileName: example
# 步骤
steps:
# 安装Qt
@ -66,7 +67,7 @@ jobs:
- name: package
id: package
env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName:0:-4 }}-${{ matrix.qt_arch }}
archiveName: ${{ matrix.qt_ver }}-${{ env.fileName }}-${{ matrix.qt_arch }}
msvcArch: ${{ matrix.msvc_arch }}
shell: pwsh
run: |