From 1cee95c9dfcd30991ba472118ebcc189e60f6059 Mon Sep 17 00:00:00 2001 From: Enes <9263360+EnessenE@users.noreply.github.com> Date: Fri, 21 Oct 2022 16:59:40 +0200 Subject: [PATCH] Update nuget.yml --- .github/workflows/nuget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 086cee5..0a0bd13 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -21,9 +21,9 @@ jobs: run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal - - name: Publish to Nuget.org - run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_apikey }} -s https://api.nuget.org/v3/index.json - name: Add Github Packages source run: dotnet nuget add source --username cmdotcom --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/cmdotcom/index.json" - name: Publish to Github Packages run: dotnet nuget push **/*.nupkg -s github + - name: Publish to Nuget.org + run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_apikey }} -s https://api.nuget.org/v3/index.json