Skip to content

Unique template name in a tenant #34

Unique template name in a tenant

Unique template name in a tenant #34

name: CI & Pack GovUK.Dfe.FlexForms.Api.Client
on:
push:
branches: [ main ]
paths:
- "src/GovUK.Dfe.FlexForms.Api.Client/**"
pull_request:
branches: [ main ]
paths:
- "src/GovUK.Dfe.FlexForms.Api.Client/**"
jobs:
build-and-test:
uses: ./.github/workflows/build-test-template.yml
with:
project_name: GovUK.Dfe.FlexForms.Api.Client
project_path: src/GovUK.Dfe.FlexForms.Api.Client
run_tests: false
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
pack-and-release:
needs: build-and-test
if: needs.build-and-test.result == 'success'
permissions:
contents: write
packages: write
uses: ./.github/workflows/pack-template.yml
with:
project_name: GovUK.Dfe.FlexForms.Api.Client
project_path: src/GovUK.Dfe.FlexForms.Api.Client/GovUK.Dfe.FlexForms.Api.Client.csproj
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}