Skip to content

Regen CLI client with 1.5.1 #435

Regen CLI client with 1.5.1

Regen CLI client with 1.5.1 #435

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@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.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@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.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@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.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@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.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/