update to use identitymodel preview2 (#2376) #4412
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 Core | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
name: IdWeb GitHub Action Test | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup .NET 3.1.301 | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 3.1.301 | |
- name: Setup .NET 6.0.301 | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 6.0.301 | |
- name: Setup .NET 7.0.x | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 7.0.x | |
- name: Setup .NET 8.0.x | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.100-preview.6.23330.14 | |
# Install workload | |
- name: Setup wasm-tools | |
run: dotnet workload install wasm-tools | |
- name: Build with .NET 6.0.x | |
run: dotnet test Microsoft.Identity.Web.sln -f net6.0 -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)" | |
- name: Build with .NET 7.0.x | |
run: dotnet test Microsoft.Identity.Web.sln -f net7.0 -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName=IntegrationTests)" | |
- name: Build with .NET 8.0.x | |
run: dotnet test Microsoft.Identity.Web.sln -f net8.0 -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName=IntegrationTests)" |