forked from loafle/openapi-generator-original
* trying to fix pipeline * forcing pipeline to run * reverting change to wrong branch * forcing pipeline to run * reverting change
31 lines
826 B
YAML
31 lines
826 B
YAML
name: Samples C# .Net Standard
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'samples/client/petstore/csharp-netcore/**netstandard**/'
|
|
pull_request:
|
|
paths:
|
|
- 'samples/client/petstore/csharp-netcore/**netstandard**/'
|
|
jobs:
|
|
build:
|
|
name: Build .Net projects
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
# clients
|
|
- samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-dotnet@v3.0.3
|
|
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
|