Added azure-pipelines/build.yml #58
Workflow file for this run
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: Build Managed | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
managed-build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout XamlBehaviors.git | |
uses: actions/checkout@v3 | |
- name: Install the .NET 5.0.403 SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 5.0.403 | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Setup/Install NuGet 5.11.0 | |
uses: nuget/setup-nuget@v2 | |
with: | |
nuget-version: '5.11.0' | |
- name: NuGet Restore BehaviorsSDKManaged.sln | |
run: nuget restore src\BehaviorsSDKManaged\BehaviorsSDKManaged.sln | |
- name: Build BehaviorsSDKManaged.sln | |
run: msbuild src\BehaviorsSDKManaged\BehaviorsSDKManaged.sln /p:Configuration=Release |