Skip to content

Commit

Permalink
Fixed NuGet Push Path Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas authored Sep 24, 2024
1 parent 9e7b1d5 commit b83c35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:

- name: Push to NuGet
if: ${{github.ref == 'refs/heads/master'}}
run: dotnet nuget push "./artifacts/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate
run: dotnet nuget push "./artifacts/**/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate
shell: pwsh

- name: Push to NuGet Nightly
if: ${{github.ref == 'refs/heads/development'}}
run: dotnet nuget push "./artifacts/*.nupkg" -k ${{secrets.NIGHTLY_NUGET_API_KEY}} -s ${{secrets.NIGHTLY_NUGET_SOURCE}} --skip-duplicate
run: dotnet nuget push "./artifacts/**/*.nupkg" -k ${{secrets.NIGHTLY_NUGET_API_KEY}} -s ${{secrets.NIGHTLY_NUGET_SOURCE}} --skip-duplicate
shell: pwsh

0 comments on commit b83c35b

Please sign in to comment.