Skip to content

Commit

Permalink
Merge pull request #587 from Aragas/patch-3
Browse files Browse the repository at this point in the history
Fixed NuGet Push Path Pattern
  • Loading branch information
Washi1337 authored Sep 24, 2024
2 parents 9e7b1d5 + 56f531a commit 4190a4c
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}} --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 4190a4c

Please sign in to comment.