From d65d6fbbac98b346551339ce5bc94257325a2710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 29 Sep 2023 17:49:05 +0800 Subject: [PATCH] update --- .github/workflows/windows-mingw.yml | 12 +++++++++--- .github/workflows/windows-qt5.yml | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows-mingw.yml b/.github/workflows/windows-mingw.yml index 3c484273..14000817 100644 --- a/.github/workflows/windows-mingw.yml +++ b/.github/workflows/windows-mingw.yml @@ -87,12 +87,18 @@ jobs: name: ${{ steps.package.outputs.packageName }} path: dist + - name: inno setup install + if: startsWith(github.event.ref, 'refs/tags/') + uses: zhuzichu520/inno-setup-action@v1.0.0 + with: + filepath: ./action-cli/InstallerScript.iss + - name: uploadRelease if: startsWith(github.event.ref, 'refs/tags/') uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ steps.package.outputs.packageName }}.zip - asset_name: ${{ env.fileName }}_${{ github.ref_name }}_${{ matrix.qt_arch }}_Qt${{ matrix.qt_ver }}.zip + file: ./action-cli/installer.exe + asset_name: ${{ env.fileName }}_${{ github.ref_name }}_${{ matrix.qt_arch }}_Qt${{ matrix.qt_ver }}.exe tag: ${{ github.ref }} - overwrite: true \ No newline at end of file + overwrite: true \ No newline at end of file diff --git a/.github/workflows/windows-qt5.yml b/.github/workflows/windows-qt5.yml index 9c0fa445..8e8de206 100644 --- a/.github/workflows/windows-qt5.yml +++ b/.github/workflows/windows-qt5.yml @@ -74,12 +74,18 @@ jobs: name: ${{ steps.package.outputs.packageName }} path: dist + - name: inno setup install + if: startsWith(github.event.ref, 'refs/tags/') + uses: zhuzichu520/inno-setup-action@v1.0.0 + with: + filepath: ./action-cli/InstallerScript.iss + - name: uploadRelease if: startsWith(github.event.ref, 'refs/tags/') uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ steps.package.outputs.packageName }}.zip - asset_name: ${{ env.fileName }}_${{ github.ref_name }}_${{ matrix.qt_arch }}_Qt${{ matrix.qt_ver }}.zip + file: ./action-cli/installer.exe + asset_name: ${{ env.fileName }}_${{ github.ref_name }}_${{ matrix.qt_arch }}_Qt${{ matrix.qt_ver }}.exe tag: ${{ github.ref }} - overwrite: true \ No newline at end of file + overwrite: true \ No newline at end of file