From b457cce107da0fd375dcb6ac740e17dcb8678e44 Mon Sep 17 00:00:00 2001 From: Jan Trejbal Date: Tue, 8 Nov 2022 15:57:30 +0100 Subject: [PATCH] Authenticate github source --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0d82cc..e9099ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: name: Nuget-packages-${{ steps.gitversion.outputs.nuGetVersionV2 }} path: nuget-packages - name: Configure Github Nuget Feed - run: dotnet nuget add source --name github https://nuget.pkg.github.com/aviationexam/index.json + run: dotnet nuget add source --name github --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text https://nuget.pkg.github.com/aviationexam/index.json - name: Push package to Github Packages run: dotnet nuget push 'nuget-packages/*.nupkg' --api-key ${{ secrets.GITHUB_TOKEN }} --source github - name: Push package to Nuget