From fa13d876fe769e924396b5c6ed5aecf76e4439bc Mon Sep 17 00:00:00 2001 From: "nicogo.eth" Date: Tue, 9 Jan 2024 16:49:02 +0100 Subject: [PATCH] Update dotnet-nuget.yml --- .github/workflows/dotnet-nuget.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet-nuget.yml b/.github/workflows/dotnet-nuget.yml index e20fbf9..2a6b55c 100644 --- a/.github/workflows/dotnet-nuget.yml +++ b/.github/workflows/dotnet-nuget.yml @@ -35,9 +35,10 @@ jobs: - name: Build Stride.BepuPhysics run: dotnet build ./Stride.BepuPhysics/Stride.BepuPhysics.csproj -p:Version=${{ env.PACKAGE_VERSION }} --no-restore - - name: Add github nuget source - run: dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" +# if we want to add the nuget to github +# - name: Add github nuget source +# run: dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - name: Publish github nuget - #run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETAPIKEY}} - run: dotnet nuget push **\*.nupkg --api-key ${{secrets.NUGETAPIKEY}} --source "github" + run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETAPIKEY}} + #run: dotnet nuget push **\*.nupkg --api-key ${{secrets.NUGETAPIKEY}} --source "github"