Update azure-pipelines.yml for Azure Pipelines #338
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: .NET | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
include-prerelease: true | |
- name: wasm-tooling | |
run: dotnet workload install wasm-tools | |
- name: Clean | |
run: dotnet clean && dotnet nuget locals all --clear | |
- name: Restore dependencies | |
run: dotnet restore -s https://api.nuget.org/v3/index.json | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |