From b8755e0f0b249a48bb973f82fdc121f84ca2071e Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Sun, 3 Jul 2022 18:45:54 +0100 Subject: [PATCH] replace ci nuget.exe with dotnet nuget --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9a4b6d8..be5e940f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,5 @@ jobs: - name: Publish to GitHub Packages shell: pwsh run: | - nuget setapikey ${{ secrets.GITHUB_TOKEN }} -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json - nuget source add -Name "gh" -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -Username $GITHUB_ACTOR -Password ${{ secrets.GITHUB_TOKEN }} - nuget push csq.*.nupkg -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -SkipDuplicate - nuget push Clowd.Squirrel.*.nupkg -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -SkipDuplicate \ No newline at end of file + dotnet nuget push csq.*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate + dotnet nuget push Clowd.Squirrel.*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate