We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5de82b commit 8640c63Copy full SHA for 8640c63
1 file changed
.github/workflows/publish.yml
@@ -76,8 +76,13 @@ jobs:
76
77
- name: Publish to NuGet
78
if: startsWith(github.ref, 'refs/tags/v')
79
- run: dotnet nuget push artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
80
-
+ shell: pwsh
+ run: |
81
+ Write-Host "Publishing NuGet packages..."
82
+ $files = Get-ChildItem -Path "artifacts" -Filter "*.nupkg"
83
+ foreach ($f in $files) {
84
+ dotnet nuget push $f.FullName --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
85
+ }
86
- name: Upload artifacts
87
uses: actions/upload-artifact@v4
88
with:
0 commit comments