Skip to content

Commit

Permalink
Checking when Wix gets installed
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmyers committed Aug 22, 2024
1 parent 34244a1 commit 8522428
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/Installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,52 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: Check WiX Version
run: |
candle.exe -? | findstr /C:"WiX Toolset"
light.exe -? | findstr /C:"WiX Toolset"
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

- name: Check WiX Version
run: |
candle.exe -? | findstr /C:"WiX Toolset"
light.exe -? | findstr /C:"WiX Toolset"
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe (Windows OS)
uses: microsoft/setup-msbuild@v1.0.2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # So the PATH can be set by this step
if: ${{ matrix.os == 'windows-2019' }}

- name: Check WiX Version
run: |
candle.exe -? | findstr /C:"WiX Toolset"
light.exe -? | findstr /C:"WiX Toolset"
# Run the unit tests
- name: Restore
run: nuget restore src/WeSay.sln

- name: Check WiX Version
run: |
candle.exe -? | findstr /C:"WiX Toolset"
light.exe -? | findstr /C:"WiX Toolset"
- name: Build
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # So gitversion can set environment vars during the build
run: msbuild src/WeSay.sln /p:Configuration=Release

- name: Check WiX Version
run: |
candle.exe -? | findstr /C:"WiX Toolset"
light.exe -? | findstr /C:"WiX Toolset"
- name: Build Installer
run: msbuild build/Installer.targets /p:Configuration=Release /p:Platform=x86 /t:BuildRelease
Expand Down

0 comments on commit 8522428

Please sign in to comment.