Skip to content

Commit 87c6c89

Browse files
committed
fixed it
1 parent 8dc8ee5 commit 87c6c89

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/dotnet_release_push.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,10 @@ jobs:
6464

6565
# Step 10
6666
- name: Push to NuGet
67-
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
67+
shell: pwsh
68+
run: |
69+
$nupkgs = Get-ChildItem -Path ./nupkgs -Filter *.nupkg
70+
foreach ($pkg in $nupkgs) {
71+
dotnet nuget push $pkg.FullName --api-key $env:NUGET_API_KEY --source https://api.nuget.org/v3/index.json
72+
}
73+

0 commit comments

Comments
 (0)