Skip to content

Bump actions/setup-dotnet from 3 to 4 (#20) #36

Bump actions/setup-dotnet from 3 to 4 (#20)

Bump actions/setup-dotnet from 3 to 4 (#20) #36

Workflow file for this run

name: MSI build
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
- name: Restore NuGet Packages
run: nuget restore WixInstallerExamples.sln
- name: Build solution
run: msbuild -m WixInstallerExamples.sln /p:Configuration=Release /p:Platform=x86