Skip to content

Commit 2f5b016

Browse files
committed
Update Nuget.yml
1 parent 958bb28 commit 2f5b016

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/Nuget.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ jobs:
4040
4141
- name: Push Nuget to NuGet.org
4242
run: |
43-
dotnet nuget push ${{ env.NUGET_PATH }}/*.nupkg -s ${{ env.NUGET_SRC_URL }} --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate --no-symbols
43+
$packages = Get-ChildItem -Path ${{ env.NUGET_PATH }} -Filter *.nupkg
44+
foreach ($package in $packages) {
45+
dotnet nuget push $package.FullName -s ${{ env.NUGET_SRC_URL }} --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate --no-symbols
46+
}
47+

0 commit comments

Comments
 (0)