forked from loafle/openapi-generator-original
* renamed OpenAPIClient-httpclient to Petstore * updated bin artifacts * renamed OpenAPIClientCoreAndNet47 to MultipleFrameworks * updated bin artifacts * renamed OpenAPIClient-net47 to Petstore * renamed OpenAPIClient-net48 to Petstore * updated bin artifacts * renamed OpenAPIClient-restsharp-name-parameter-mappings to ParameterMappings * updated bin artifacts * renamed OpenAPIClientCore to Petstore * updated bin artifacts * renamed OpenAPIClient-net7.0-useDateTimeForDate to UseDateTimeForDate * updated bin artifacts * renamed OpenAPIClient-net5.0 to EnumMappings * updated bin artifacts * renamed OpenAPIClient-ConditionalSerialization to ConditionalSerialization * updated bin artifacts * renamed OpenAPIClient to Petstore * updated bin artifacts * renamed OpenAPIClient-unityWebRequest to Petstore * updated bin artifacts * updated appveyor * updated bin artifacts * updated bin artifacts * comenting out a sample project with no csproj file * updated bin artifacts
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
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: ubuntu-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@v4
|
|
- uses: actions/setup-dotnet@v4.0.0
|
|
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
|