Skip to content

Commit 02685ad

Browse files
committed
Update nuget-push-to-production.yml
1 parent a37d5c6 commit 02685ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/nuget-push-to-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
echo "Found packages: $PACKAGES"
5353
for PACKAGE in $PACKAGES; do
5454
echo "Pushing $PACKAGE to nuget.org"
55-
dotnet nuget push "$PACKAGE" --api-key "$NUGET_ORG_API_KEY" --source "https://api.nuget.org/v3/index.json" --skip-duplicate || echo "WARNING - failed to upload package: $PACKAGE"
55+
dotnet nuget push "$PACKAGE" --api-key "$NUGET_ORG_API_KEY" --source "https://api.nuget.org/v3/index.json" --skip-duplicate || echo "WARNING - failed to upload package: $PACKAGE" && exit 1
5656
done

0 commit comments

Comments
 (0)