From eae48471ce51a1b33ec185f6df4f6cd0e8e0c07b Mon Sep 17 00:00:00 2001 From: Diego Iastrubni Date: Thu, 19 Sep 2024 16:30:37 +0300 Subject: [PATCH] MSI setup? --- .github/workflows/build.yml | 16 +++++++++++ qtedit4.msi | 57 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 qtedit4.msi diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5b804e..4a509ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -134,12 +134,28 @@ jobs: with: path: "setup_script.iss" options: /O+ + - name: Build MSI (Windows) + if: matrix.config.os == 'windows-2022' && matrix.config.cc == 'cl' + run: | + choco install wix -y + candle qtedit4.wxs + light -out dist/qtedit4.msi qtedit4.wixobj - name: Upload setup if: matrix.config.os == 'windows-2022' && matrix.config.cc == 'cl' uses: actions/upload-artifact@v4 with: name: qtedit4-qt671-x86_64.exe path: dist/qtedit4-win64.exe + - name: Upload MSI (Windows MSI) + if: matrix.config.os == 'windows-2022' && matrix.config.cc == 'cl' + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./dist/qtedit4.msi + asset_name: qtedit4-qt671-x86_64.msi + asset_content_type: application/octet-stream create-release: needs: build-cmake diff --git a/qtedit4.msi b/qtedit4.msi new file mode 100644 index 0000000..e30a6f0 --- /dev/null +++ b/qtedit4.msi @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +