summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-03-16 19:39:39 +0330
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-03-16 19:48:04 +0330
commit07c7827dee4550ca16b4b6985b221e364b658cad (patch)
tree217124fd1998929bde27e16e1f6d1c010c7f0ce3
parentc0dbea43f3367e9bfeb83539328dd4c03d23b4d7 (diff)
downloadserenity-07c7827dee4550ca16b4b6985b221e364b658cad.zip
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.
-rw-r--r--.github/workflows/libjs-test262.yml2
1 files changed, 1 insertions, 1 deletions
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),