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:
101
101
path : nuget
102
102
- name : Push to GitHub Feed
103
103
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
+
106
106
for f in ./nuget/*.nupkg
107
107
do
108
108
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
110
110
done
111
-
111
+
112
112
publish :
113
113
runs-on : ubuntu-latest
114
114
needs : package
@@ -145,7 +145,7 @@ jobs:
145
145
146
146
for f in ./nuget/*.nupkg
147
147
do
148
- dotnet nuget push $f --source "github" --skip-duplicate
148
+ dotnet nuget push $f --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} -- skip-duplicate
149
149
done
150
150
151
151
- name : Publish NuGet package on nuget.org
You can’t perform that action at this time.
0 commit comments