From 752309f68d81af1385385c355e7f676150660e27 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Mon, 4 Mar 2024 21:01:57 +0100 Subject: [PATCH] Update publish-nuget.yml --- .github/workflows/publish-nuget.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index e14bf1a..475d64d 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -16,11 +16,10 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' # SDK Version to use. - source-url: https://api.nuget.org/v3/index.json env: NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}} - run: dotnet build --configuration Release src/StoneRed.NetificationApi - name: Create the package run: dotnet pack --configuration Release src/StoneRed.NetificationApi - name: Publish the package to nuget.org - run: dotnet nuget push src/StoneRed.NetificationApi/bin/Release/*.nupkg + run: dotnet nuget push src/StoneRed.NetificationApi/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json