From f27c48d707656d38664bc7eb1c4c1845ad9ece14 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 16 Mar 2022 21:34:43 +0330 Subject: [PATCH] Meta: Copy wasm results to the right file Hopefully for the last time, copy the results to the right file. --- .github/workflows/libjs-test262.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/libjs-test262.yml b/.github/workflows/libjs-test262.yml index 0078d3e2557..2c4718a907b 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 /dev/stdin <<-EOF --slurpfile previous ../../libjs-website/wasm/data/results.json --slurpfile details ../../libjs-website/wasm/data/per-file-master.json > wasm-new-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 > wasm-new-results.json \$details[0] as \$details | \$previous[0] + [{ "commit_timestamp": $(git -C ../.. log -1 --format=%ct), "run_timestamp": $(date +%s), @@ -140,7 +140,7 @@ jobs: } }] EOF - mv wasm-new-per-file-master.json ../../libjs-website/wasm/data/per-file-master.json + mv wasm-new-results.json ../../libjs-website/wasm/data/results.json - name: Deploy to GitHub pages uses: JamesIves/github-pages-deploy-action@4.1.1