Skip to content

Commit

Permalink
fixed publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skrasekmichael committed Mar 16, 2024
1 parent 7e3fd2f commit 0710307
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

- name: Publish NuGet packages
run: |
foreach ($file in (Get-ChildItem nuget -Include *.nupkg)) {
dotnet nuget push $file --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
Get-ChildItem nuget -Filter *.nupkg | % {
dotnet nuget push $_.FullName --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
}
shell: pwsh

0 comments on commit 0710307

Please sign in to comment.