Re-add MSBuild action #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows build & test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.x | |
- name: Build everything | |
run: | | |
& .\eng\build.ps1 -build $true | |
- name: Run unit tests | |
run: | | |
& .\eng\build.ps1 -build $false -test $true | |
- name: Test artifact publishing | |
run: | | |
& .\eng\build.ps1 -build $false -test $false -publish $true |