C# GenericHost remove state from TokenProvider abstract base class so it makes more sense for JIT requested tokens (for long lived ApiClients with OAuth security schemes) #973
Workflow file for this run
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: Samples C# .Net Standard Client | |
| on: | |
| push: | |
| paths: | |
| - samples/client/petstore/csharp/generichost/standard2.0/** | |
| - samples/client/petstore/csharp/httpclient/standard2.0/** | |
| - samples/client/petstore/csharp/restsharp/standard2.0/** | |
| - samples/client/petstore/csharp/unityWebRequest/standard2.0/** | |
| pull_request: | |
| paths: | |
| - samples/client/petstore/csharp/generichost/standard2.0/** | |
| - samples/client/petstore/csharp/httpclient/standard2.0/** | |
| - samples/client/petstore/csharp/restsharp/standard2.0/** | |
| - samples/client/petstore/csharp/unityWebRequest/standard2.0/** | |
| jobs: | |
| build: | |
| name: Build .Net projects | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| sample: | |
| - samples/client/petstore/csharp/generichost/standard2.0/Petstore/ | |
| - samples/client/petstore/csharp/httpclient/standard2.0/Petstore/ | |
| - samples/client/petstore/csharp/restsharp/standard2.0/Petstore/ | |
| - samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/ | |
| # - samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/ | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/[email protected] | |
| with: | |
| dotnet-version: 3.1.* | |
| - name: Build | |
| working-directory: ${{ matrix.sample }} | |
| run: dotnet build Org.OpenAPITools.sln | |
| # skip tests as petstore server it not running | |
| # these tests are run in appveyor instead | |
| #- name: Test | |
| # working-directory: ${{ matrix.sample }} | |
| # run: dotnet test Org.OpenAPITools.sln |