Skip to content

Commit

Permalink
Adjust pipeline (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 authored Jun 17, 2024
1 parent e0e0658 commit e924f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tmp=$(mktemp)

if ! dotnet nuget push "$SOURCE_NUPKG" --api-key "$NUGET_API_KEY" --source https://api.nuget.org/v3/index.json > "$tmp" ; then
cat "$tmp"
if grep 'already exists at feed' "$tmp" ; then
if grep 'already exists and cannot be modified' "$tmp" ; then
echo "result=skipped" >> "$GITHUB_OUTPUT"
exit 0
else
Expand Down

0 comments on commit e924f39

Please sign in to comment.