main
zhuzihcu 2023-03-08 16:09:18 +08:00
parent a81e7958c5
commit b864be5f67
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: "tools_mingw,8.1.0-1-202004170606,qt.tools.win64_mingw810"
qt_tools_mingw_install: mingw810_64 qt_tools_mingw_install: mingw810_64
env: env:
targetName: example targetName: example.exe
steps: steps:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
@ -65,7 +65,7 @@ jobs:
- name: package - name: package
id: package id: package
env: env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName }}-${{ matrix.qt_arch }} archiveName: ${{ matrix.qt_ver }}-${{ env.targetName:0:-4 }}-${{ matrix.qt_arch }}
shell: pwsh shell: pwsh
run: | run: |
& scripts\windows-mingw-publish.ps1 ${env:archiveName} ${env:targetName} & scripts\windows-mingw-publish.ps1 ${env:archiveName} ${env:targetName}

View File

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