Skip to content

Commit 055f5f9

Browse files
committed
changed to simple dry run command
1 parent 70c6719 commit 055f5f9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/pre-merge-checks.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,4 @@ jobs:
5959

6060
# Check if package can be published
6161
- name: Check publication readiness
62-
run: |
63-
ISSUES=$(flutter pub publish --dry-run 2>&1 | grep -i "error\|warning" || true)
64-
if [ ! -z "$ISSUES" ]; then
65-
echo "Publication issues found:"
66-
echo "$ISSUES"
67-
echo "Please fix these issues before merging."
68-
exit 1
69-
else
70-
echo "Package is ready for publication! ✅"
71-
fi
62+
run: flutter pub publish --dry-run

0 commit comments

Comments
 (0)