From 07c7827dee4550ca16b4b6985b221e364b658cad Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 16 Mar 2022 19:39:39 +0330 Subject: [PATCH] Meta: Don't use heredocs as file paths Heredocs are passed to stdin, so make `jq` read it from stdin instead of treating it as a file path argument. --- .github/workflows/libjs-test262.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libjs-test262.yml b/.github/workflows/libjs-test262.yml index 0188d71ee2..2fcb5d9fba 100644 --- a/.github/workflows/libjs-test262.yml +++ b/.github/workflows/libjs-test262.yml @@ -119,7 +119,7 @@ jobs: working-directory: libjs-test262/Build run: | _deps/lagom-build/test-wasm --per-file > ../../libjs-website/wasm/data/per-file-master.json - jq -nc -f <<-EOF --slurpfile previous ../../libjs-website/wasm/data/results.json --slurpfile details ../../libjs-website/wasm/data/per-file-master.json + jq -nc -f /dev/stdin <<-EOF --slurpfile previous ../../libjs-website/wasm/data/results.json --slurpfile details ../../libjs-website/wasm/data/per-file-master.json \$details[0] as \$details | \$previous[0] + [{ "commit_timestamp": $(git -C ../.. log -1 --format=%ct), "run_timestamp": $(date +%s),