From 4dd560e1a161597ea80aeb9a0e644bf79426a22c Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Wed, 5 Jan 2022 11:52:54 -0600 Subject: [PATCH] Try another way to specify the config file for github actions --- .github/workflows/build-and-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5c878e8..42f2740 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -80,10 +80,8 @@ jobs: export HHVM_CONFIG_FILE=$(mktemp) for A in false true; do for B in false true; do - cat > $HHVM_CONFIG_FILE << EOF - hhvm.hack.lang.enable_xhp_class_modifier=$A \ - hhvm.hack.lang.disable_xhp_element_mangling=$B \ - EOF + echo hhvm.hack.lang.enable_xhp_class_modifier=$A > $HHVM_CONFIG_FILE + echo hhvm.hack.lang.disable_xhp_element_mangling=$B >> $HHVM_CONFIG_FILE vendor/bin/hacktest tests/ScannerTest.hack done done