Skip to content

Commit 698cb9d

Browse files
authored
Update build.yml
1 parent 94a21c9 commit 698cb9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,7 @@ jobs:
9595
env:
9696
VERSION: ${{ needs.get-version.outputs.tag }}
9797
API_KEY: ${{ secrets.NUGET_PASSWORD }}
98-
run: dotnet nuget push "bin/Release/Sprout.${VERSION:1}.nupkg" --api-key ${API_KEY} --source nuget --skip-duplicate
98+
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
99+
run: |
100+
dotnet nuget push "bin/Release/Sprout.${VERSION:1}.nupkg" --api-key ${API_KEY} --source nuget --skip-duplicate
101+
dotnet nuget push "bin/Release/Sprout.${VERSION:1}.nupkg" --api-key ${NUGET_APIKEY} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)