Adjust pipeline (#12)

This commit is contained in:
Patrick Stevens
2024-06-17 22:16:58 +01:00
committed by GitHub
parent e0e06582c5
commit e924f39ebb

View File

@@ -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