Skip to content

Update workflow file: microsoft/[email protected] -> v2 (Node.js updated from 16 -> 20) #43

Update workflow file: microsoft/[email protected] -> v2 (Node.js updated from 16 -> 20)

Update workflow file: microsoft/[email protected] -> v2 (Node.js updated from 16 -> 20) #43

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/setup-msbuild@v2
- 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