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 qt_tools_mingw_install: mingw810_64
env: env:
targetName: example.exe targetName: example.exe
fileName: example
steps: steps:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
@ -65,7 +66,7 @@ jobs:
- name: package - name: package
id: package id: package
env: env:
archiveName: ${{ matrix.qt_ver }}-${{ env.targetName:0:-4 }}-${{ matrix.qt_arch }} archiveName: ${{ matrix.qt_ver }}-${{ env.fileName }}-${{ 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

@ -32,6 +32,7 @@ jobs:
qt_arch_install: msvc2019_64 qt_arch_install: msvc2019_64
env: env:
targetName: example.exe targetName: example.exe
fileName: example
# 步骤 # 步骤
steps: steps:
# 安装Qt # 安装Qt
@ -66,7 +67,7 @@ jobs:
- name: package - name: package
id: package id: package
env: 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 }} msvcArch: ${{ matrix.msvc_arch }}
shell: pwsh shell: pwsh
run: | run: |