fix yml file #5
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 | |
on: | |
pull_request: {} | |
push: | |
branches: ["master", "main", "feat/sdk-4539"] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.x | |
- name: Install .NET iOS workload | |
run: dotnet workload install ios | |
- name: Install .NET Android workload | |
run: dotnet workload install android | |
- name: Setup NuGet | |
uses: nuget/setup-nuget@v1 | |
- name: Restore NuGet | |
run: nuget restore Auth0.OidcClient.All.sln | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: Build | |
run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release | |
- name: Tests | |
uses: microsoft-approved-actions/vstest@master | |
with: | |
testAssembly: '**.\*UnitTests.dll' | |
searchFolder: ./ | |
runInParallel: false | |
- name: NuGet pack | |
run: | | |
nuget pack nuget/Auth0.OidcClient.Android.nuspec | |
nuget pack nuget/Auth0.OidcClient.AndroidX.nuspec | |
nuget pack nuget/Auth0.OidcClient.Core.nuspec | |
nuget pack nuget/Auth0.OidcClient.iOS.nuspec | |
nuget pack nuget/Auth0.OidcClient.UWP.nuspec | |
nuget pack nuget/Auth0.OidcClient.WinForms.nuspec | |
nuget pack nuget/Auth0.OidcClient.WPF.nuspec | |
- name: Install DocFX | |
run: dotnet tool install -g docfx | |
- name: Build docs | |
run: ./tools/build-docs | |
shell: bash |