[C#] fix anyof, oneof mixed primitive object parse error #531
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: Samples C# .Net Standard Client | |
on: | |
push: | |
paths: | |
# build C# API client (netstandard) | |
- samples/client/petstore/csharp/OpenAPIClient/** | |
- samples/client/petstore/csharp/*netstandard*/** | |
# build C# API client (netstandard with ConditionalSerialization) | |
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | |
# build C# API client (netstandard httpclient) | |
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | |
pull_request: | |
paths: | |
# build C# API client (netstandard) | |
- samples/client/petstore/csharp/OpenAPIClient/** | |
- samples/client/petstore/csharp/*netstandard*/** | |
# build C# API client (netstandard with ConditionalSerialization) | |
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | |
# build C# API client (netstandard httpclient) | |
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | |
jobs: | |
build: | |
name: Build .Net projects | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# build C# API client (netstandard) | |
- samples/client/petstore/csharp/OpenAPIClient/ | |
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/ | |
# build C# API client (netstandard with ConditionalSerialization) | |
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/ | |
# build C# API client (netstandard httpclient) | |
- samples/client/petstore/csharp/OpenAPIClient-httpclient/ | |
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 | |
# 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 |