Skip to content

Commit

Permalink
Skipping duplicate publishing in release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Mar 1, 2025
1 parent 17d8748 commit ece87ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
run: dotnet pack -c Release --no-build --no-restore --output ./pkgs --version-suffix ${{ env.VERSION }} --include-symbols

- name: Publish to GitHub Packages
run: dotnet nuget push ./pkgs/*.nupkg --source https://nuget.pkg.github.com/deveel/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push ./pkgs/*.nupkg --source https://nuget.pkg.github.com/deveel/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate

- name: Publish to NuGet
run: dotnet nuget push ./pkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ./pkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate

0 comments on commit ece87ee

Please sign in to comment.