Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 4dd560e

Browse files
committed
Try another way to specify the config file for github actions
1 parent 44aa4b3 commit 4dd560e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ jobs:
8080
export HHVM_CONFIG_FILE=$(mktemp)
8181
for A in false true; do
8282
for B in false true; do
83-
cat > $HHVM_CONFIG_FILE << EOF
84-
hhvm.hack.lang.enable_xhp_class_modifier=$A \
85-
hhvm.hack.lang.disable_xhp_element_mangling=$B \
86-
EOF
83+
echo hhvm.hack.lang.enable_xhp_class_modifier=$A > $HHVM_CONFIG_FILE
84+
echo hhvm.hack.lang.disable_xhp_element_mangling=$B >> $HHVM_CONFIG_FILE
8785
vendor/bin/hacktest tests/ScannerTest.hack
8886
done
8987
done

0 commit comments

Comments
 (0)