[csharp][generichost] Handle all responses (#16635) #445
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: Samples C# .Net Standard | |
on: | |
push: | |
paths: | |
- 'samples/client/petstore/csharp/**netstandard**/' | |
pull_request: | |
paths: | |
- 'samples/client/petstore/csharp/**netstandard**/' | |
jobs: | |
build: | |
name: Build .Net projects | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# clients | |
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: 3.1.* | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: dotnet build Org.OpenAPITools.sln | |
- name: Test | |
working-directory: ${{ matrix.sample }} | |
run: dotnet test Org.OpenAPITools.sln |