Feature/dotnet 8 upgrade #190
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"] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.404' | |
- name: dotnet version details before uninstall | |
run: dotnet --info | |
- name: List workloads before uninstall | |
run: dotnet workload list | |
- name: Uninstall .NET Android and iOS workload | |
run: dotnet workload uninstall android ios maui | |
- name: Install .NET Android and iOS workload | |
run: dotnet workload install android ios maui | |
- name: List workloads | |
run: dotnet workload list | |
- name: Update workloads | |
run: dotnet workload update | |
- name: List workloads after update | |
run: dotnet workload list | |
- name: dotnet version details | |
run: dotnet --info | |
- name: Setup NuGet | |
uses: nuget/setup-nuget@v1 | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Restore NuGet | |
run: nuget restore Auth0.OidcClient.All.sln | |
- name: Build | |
run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release | |
- name: Tests | |
run: dotnet test **\bin\**\*UnitTests.dll |