Skip to content

Commit

Permalink
Test installer
Browse files Browse the repository at this point in the history
  • Loading branch information
eltos committed Mar 17, 2024
1 parent ff3d0e4 commit b1dca37
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dotnet-testbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@ jobs:
flavor: ${{ matrix.flavor }}
artifact: ${{ matrix.flavor == 'Portable' && 'PasteIntoFile_debug_portable' || '' }}

installer:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build program executable
id: build
uses: ./.github/build
with:
configuration: Release
flavor: Installer
- name: Add WiX toolkit to PATH
shell: bash
run: echo "${WIX}bin" >> $GITHUB_PATH
- name: Build MSI file with WiX toolchain
run: |
cd Installer
heat dir ../${{steps.build.outputs.path}} -dr INSTALLFOLDER -ag -cg ReleaseFragment -ke -srd -sfrag -nologo -pog:Binaries -pog:Documents -pog: Satellites -pog:Sources -pog:Content -t releaseFiles.xslt -out releaseFiles.wxs
candle releaseFiles.wxs
candle PasteIntoFile.wxs
light -b ../${{steps.build.outputs.path}} releaseFiles.wixobj PasteIntoFile.wixobj -ext WixNetFxExtension -out Installer.msi

# test:
# runs-on: windows-2019 # For a list of available runner types, refer to https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
#
Expand Down

0 comments on commit b1dca37

Please sign in to comment.