24 lines
715 B
YAML
24 lines
715 B
YAML
name: Test MS build
|
|
run-name: Test MS build
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: windows
|
|
strategy:
|
|
matrix:
|
|
configuration: [Release]
|
|
platform: [x64]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Setup MSBuild
|
|
uses: microsoft/setup-msbuild@v1.1
|
|
- name: Setup NuGet
|
|
uses: nuget/setup-nuget@v1
|
|
- name: Restore NuGet packages
|
|
run: nuget restore Elwig/Elwig.csproj
|
|
- name: Build Installer
|
|
shell: powershell
|
|
run: $(& msbuild Installer/Installer.wixproj -property:Configuration=${{ matrix.configuration }} -property:Platform=${{ matrix.platform }}; $a=$lastexitcode) | findstr x*; exit $a
|