From 0b30bf24a43f61105af254f190b3533be46897f9 Mon Sep 17 00:00:00 2001 From: jazous Date: Mon, 1 Aug 2022 00:29:35 +0800 Subject: [PATCH] update 1 --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ff349d..292cbd9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,5 +45,7 @@ jobs: source-url: https://nuget.pkg.github.com/willzou/index.json env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: 4.Publish the package to nuget.org + - name: 4.Add nuget.org + run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org + - name: 5.Publish the package to nuget.org run: dotnet nuget push */bin/Release/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols