|
| 1 | +name: Samples C# .Net 7 Client |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + paths: |
| 6 | + # the .NET Core 3.0 runtime is no longer supported as it reached its end-of-life on March 3, 2020 |
| 7 | + #- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/** |
| 8 | + - samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/** |
| 9 | + - samples/client/petstore/csharp/restsharp/net4.7/Petstore/** |
| 10 | + - samples/client/petstore/csharp/restsharp/net4.8/Petstore/** |
| 11 | + - samples/client/petstore/csharp/restsharp/net8/ParameterMappings/** |
| 12 | + - samples/client/petstore/csharp/restsharp/net8/EnumMappings/** |
| 13 | + - samples/client/petstore/csharp/restsharp/net8/Petstore/** |
| 14 | + - samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/** |
| 15 | + - samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/** |
| 16 | + pull_request: |
| 17 | + paths: |
| 18 | + #- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/** |
| 19 | + - samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/** |
| 20 | + - samples/client/petstore/csharp/restsharp/net4.7/Petstore/** |
| 21 | + - samples/client/petstore/csharp/restsharp/net4.8/Petstore/** |
| 22 | + - samples/client/petstore/csharp/restsharp/net8/ParameterMappings/** |
| 23 | + - samples/client/petstore/csharp/restsharp/net8/EnumMappings/** |
| 24 | + - samples/client/petstore/csharp/restsharp/net8/Petstore/** |
| 25 | + - samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/** |
| 26 | + - samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/** |
| 27 | +jobs: |
| 28 | + build: |
| 29 | + name: Build clients |
| 30 | + runs-on: windows-latest |
| 31 | + strategy: |
| 32 | + fail-fast: false |
| 33 | + matrix: |
| 34 | + sample: |
| 35 | + #- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/ |
| 36 | + - samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/ |
| 37 | + - samples/client/petstore/csharp/restsharp/net4.7/Petstore/ |
| 38 | + - samples/client/petstore/csharp/restsharp/net4.8/Petstore/ |
| 39 | + - samples/client/petstore/csharp/restsharp/net8/ParameterMappings/ |
| 40 | + - samples/client/petstore/csharp/restsharp/net8/EnumMappings/ |
| 41 | + - samples/client/petstore/csharp/restsharp/net8/Petstore/ |
| 42 | + - samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/ |
| 43 | + - samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/ |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v5 |
| 46 | + |
| 47 | + with: |
| 48 | + dotnet-version: '7.0.x' |
| 49 | + - name: Build |
| 50 | + working-directory: ${{ matrix.sample }} |
| 51 | + run: dotnet build Org.OpenAPITools.sln |
| 52 | + - name: Test |
| 53 | + working-directory: ${{ matrix.sample }} |
| 54 | + run: dotnet test Org.OpenAPITools.sln |
0 commit comments