Skip to content

Regenerated API clients with Kiota #1219

Regenerated API clients with Kiota

Regenerated API clients with Kiota #1219

name: Build and test .NET Get Started sample
on:
push:
branches:
- main
- regen/clients-**
paths:
- 'get-started/azure-auth/dotnet/**'
- 'get-started/azure-auth/cli/**'
- 'get-started/quickstart/dotnet/**'
- 'get-started/quickstart/cli/**'
pull_request:
branches: [ main ]
paths:
- 'get-started/azure-auth/dotnet/**'
- 'get-started/azure-auth/cli/**'
- 'get-started/quickstart/dotnet/**'
- 'get-started/quickstart/cli/**'
jobs:
build-azure-dotnet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies .NET Azure auth
run: dotnet restore
working-directory: get-started/azure-auth/dotnet/src/
- name: Build .NET Azure auth
run: dotnet build --no-restore
working-directory: get-started/azure-auth/dotnet/src/
build-azure-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies CLI Azure auth
run: dotnet restore
working-directory: get-started/azure-auth/cli/src/
- name: Build CLI Azure auth
run: dotnet build --no-restore
working-directory: get-started/azure-auth/cli/src/
build-quickstart-dotnet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies .NET quickstart
run: dotnet restore
working-directory: get-started/quickstart/dotnet/
- name: Build .NET quickstart
run: dotnet build --no-restore
working-directory: get-started/quickstart/dotnet/
- name: Test .NET quickstart
run: dotnet test
working-directory: get-started/quickstart/dotnet/
build-quickstart-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies CLI quickstart
run: dotnet restore
working-directory: get-started/quickstart/cli/src/
- name: Build CLI quickstart
run: dotnet build --no-restore
working-directory: get-started/quickstart/cli/src/