We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c8a05e commit 1bfec1cCopy full SHA for 1bfec1c
1 file changed
.github/workflows/ci.yaml
@@ -68,7 +68,12 @@ jobs:
68
- name: Codegen verify (only latest)
69
if: matrix.flutter == '3.32.x'
70
run: |
71
- dart run build_runner build -d --build-filter="lib/**"
+ set -e
72
+ export FLUTTER_FRONTEND_SERVER_SNAPSHOT="$FLUTTER_ROOT/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot"
73
+ echo "Using frontend_server: $FLUTTER_FRONTEND_SERVER_SNAPSHOT"
74
+ test -f "$FLUTTER_FRONTEND_SERVER_SNAPSHOT" || (echo 'frontend_server snapshot not found' && ls -R "$FLUTTER_ROOT/bin/cache/artifacts/engine" && exit 1)
75
+ flutter pub get
76
+ flutter pub run build_runner build -d --build-filter="lib/**"
77
git diff --exit-code || (echo 'Codegen produced changes. Please commit generated files.' && exit 1)
78
79
example-android:
0 commit comments