Skip to content

Commit 021bdf8

Browse files
fix(ci): replace heredoc with printf in lint_flutter step (YAML compat)
Heredoc <<'EOF' syntax in GitHub Actions run: blocks conflicts with YAML's merge-key operator (<<), causing workflow parse failure. Use printf instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ffbc6f7 commit 021bdf8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/pr-build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,8 @@ jobs:
519519
# instead of the published version on pub.dev (which lags behind).
520520
for pkg in packages/runanywhere_genie packages/runanywhere_llamacpp packages/runanywhere_onnx; do
521521
if [ -f "$pkg/pubspec.yaml" ]; then
522-
cat > "$pkg/pubspec_overrides.yaml" <<'OVERRIDES'
523-
dependency_overrides:
524-
runanywhere:
525-
path: ../runanywhere
526-
OVERRIDES
522+
printf 'dependency_overrides:\n runanywhere:\n path: ../runanywhere\n' \
523+
> "$pkg/pubspec_overrides.yaml"
527524
fi
528525
done
529526
for pkg in packages/runanywhere packages/runanywhere_genie packages/runanywhere_llamacpp packages/runanywhere_onnx; do

0 commit comments

Comments
 (0)