We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 602275f commit 7bd6decCopy full SHA for 7bd6dec
.github/workflows/ci.yml
@@ -49,12 +49,17 @@ jobs:
49
run: dart analyze packages/dart --fatal-infos
50
- name: Lint
51
run: dart format packages/dart
52
- - name: Show formatted files
+ - name: Print contents of changed Dart files
53
run: |
54
- git diff --name-only | grep '\.dart$' | while read file; do
55
- echo "Changed $file:"
56
- cat "$file"
57
- echo ""
+ echo "Listing changed .dart files:"
+ changed_files=$(git diff --name-only)
+
+ for file in $changed_files; do
58
+ if [[ "$file" == *.dart ]]; then
59
+ echo "===== Changed: $file ====="
60
+ cat "$file"
61
+ echo ""
62
+ fi
63
done
64
- name: Publish dry run
65
run: cd packages/dart && dart pub publish --dry-run
0 commit comments