Skip to content

Commit 49adeeb

Browse files
authored
Update nuget-publish.yml
1 parent cf9b24b commit 49adeeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
dotnet pack -c Release -o out
2121
2222
- name: Push generated package to GitHub registry
23-
run: dotnet nuget push ./out/*.nupkg --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true
23+
run: dotnet nuget push ./out/*.nupkg --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json
2424

2525
publish-git:
2626
runs-on: windows-latest
@@ -38,4 +38,4 @@ jobs:
3838
dotnet pack -c Release -o out
3939
4040
- name: Push generated package to GitHub registry
41-
run: dotnet nuget push ./out/*.nupkg --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true
41+
run: dotnet nuget push ./out/*.nupkg --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)