This repository was archived by the owner on Jun 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,14 @@ jobs:
101101 path : nuget
102102 - name : Push to GitHub Feed
103103 run : |
104- dotnet nuget add source --username $GITHUB_USER --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/serilog-contrib/index.json"
105-
104+ dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/serilog-contrib/index.json"
105+
106106 for f in ./nuget/*.nupkg
107107 do
108108 echo $f
109- dotnet nuget push $f --source "github" --skip-duplicate
109+ dotnet nuget push $f --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} -- skip-duplicate
110110 done
111-
111+
112112 publish :
113113 runs-on : ubuntu-latest
114114 needs : package
@@ -145,7 +145,7 @@ jobs:
145145
146146 for f in ./nuget/*.nupkg
147147 do
148- dotnet nuget push $f --source "github" --skip-duplicate
148+ dotnet nuget push $f --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} -- skip-duplicate
149149 done
150150
151151 - name : Publish NuGet package on nuget.org
You can’t perform that action at this time.
0 commit comments