From d718efc615db8d554b9457326d181e4411b98620 Mon Sep 17 00:00:00 2001 From: Farshad DASHTI Date: Fri, 8 Nov 2024 16:53:37 +0000 Subject: [PATCH] Added github authentication to the integration workflow --- .github/workflows/continuous-integration-dotnet.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration-dotnet.yml b/.github/workflows/continuous-integration-dotnet.yml index 91dca59c7..5395bb3fb 100644 --- a/.github/workflows/continuous-integration-dotnet.yml +++ b/.github/workflows/continuous-integration-dotnet.yml @@ -84,10 +84,13 @@ jobs: - name: Install SonarCloud scanners run: dotnet tool install --global dotnet-sonarscanner - + - name: Install dotnet reportgenerator run: dotnet tool install --global dotnet-reportgenerator-globaltool + - name: Add nuget package source + run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/DFE-Digital/index.json" + - name: Restore dependencies run: dotnet restore ConcernsCaseWork/ConcernsCaseWork.sln