This GitHub Action sets up MSBuild.exe
as a CLI tool for in use in actions by:
- Optionally downloading and caching a version of
VSWhere.exe
to help find the latestMSBuild.exe
on the machine - Adds the location of the
MSBuild.exe
to thePATH
This action is based on Warren Buckley's setup-MSBuild action and is a rewrite from Typescript to Javascript.
See action.yml.
No secrets.
on: push
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Setup MSBuild.exe
uses: extenda/actions/setup-msbuild@v0
- name: MSBuild
working-directory: src
run: msbuild MyProject.csproj