Skip to content

Bump Verify.Xunit and 2 others (#244) #231

Bump Verify.Xunit and 2 others (#244)

Bump Verify.Xunit and 2 others (#244) #231

Workflow file for this run

name: Publish
on:
push:
branches:
- main
permissions:
id-token: write
contents: write
pull-requests: write
packages: read
env:
AWS_REGION: eu-west-2
AWS_ACCOUNT_ID: "094954420758"
jobs:
build:
name: CDP-build-workflow
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Setup dotnet
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
9.0
- name: Update NuGet.config
run: |
dotnet nuget remove source defra
dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name defra "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --configfile NuGet.config
- name: Build and Publish
uses: DEFRA/cdp-build-action/build@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
sonarcloud-scan:
name: CDP SonarCloud Scan
uses: ./.github/workflows/sonarcloud.yml
needs: build
secrets: inherit