File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,10 +151,10 @@ jobs:
151151 run : |
152152 if [ '${{ github.event_name }}' == 'workflow_dispatch' ]; then
153153 if [ '${{ github.event.inputs.nuget-registry }}' == 'NuGet' ]; then
154- dotnet nuget push src/**/Flecs.NET.*.nupkg --api-key '${{ secrets.NUGET_ACCESS_TOKEN }}' --source 'https://api.nuget.org/v3/index.json'
154+ dotnet nuget push src/**/Flecs.NET.*.nupkg --skip-duplicate -- api-key '${{ secrets.NUGET_ACCESS_TOKEN }}' --source 'https://api.nuget.org/v3/index.json'
155155 elif [ '${{ github.event.inputs.nuget-registry }}' == 'GitHub' ]; then
156- dotnet nuget push src/**/Flecs.NET.*.nupkg --api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json'
156+ dotnet nuget push src/**/Flecs.NET.*.nupkg --skip-duplicate -- api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json'
157157 fi
158158 elif [ '${{ github.ref }}' == 'refs/heads/main' ]; then
159- dotnet nuget push src/**/Flecs.NET.*.nupkg --api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json'
159+ dotnet nuget push src/**/Flecs.NET.*.nupkg --skip-duplicate -- api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json'
160160 fi
You can’t perform that action at this time.
0 commit comments