fix: Use X509CertificateLoader for .NET 10 to resolve SYSLIB0057 warning #709
This file contains hidden or 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] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| continue-on-error: true | |
| name: Abstractions GitHub Action Test | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Use .NET version from global.json | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| - name: Setup .NET 8.0.x | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 8.0.x | |
| # Run the tests | |
| - name: Build and test | |
| run: dotnet test -v m --configuration Release Microsoft.Identity.Abstractions.sln | |
| # Pack the library | |
| - name: Pack | |
| run: dotnet pack --configuration Release --no-restore --no-build -v m Microsoft.Identity.Abstractions.sln |