Skip to content

Commit ab9aa9b

Browse files
committed
Updated nuget gha.
1 parent 4a439c7 commit ab9aa9b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/nuget.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
env:
4646
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
4747
run: |
48-
dotnet nuget push ./artifacts/*.nupkg `
49-
--source https://api.nuget.org/v3/index.json `
50-
--api-key $env:NUGET_API_KEY `
51-
--skip-duplicate
48+
Get-ChildItem ./artifacts/*.nupkg | ForEach-Object {
49+
dotnet nuget push $_.FullName `
50+
--source https://api.nuget.org/v3/index.json `
51+
--api-key $env:NUGET_API_KEY `
52+
--skip-duplicate
53+
}

0 commit comments

Comments
 (0)