From cb6b372a3b3d9824ab4087bd27aaab807a8fd9df Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 16 Mar 2022 20:19:24 +0330 Subject: [PATCH] Meta: Actually copy the new wasm per-file results after generating them Otherwise the website data won't be updated. --- .github/workflows/libjs-test262.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/libjs-test262.yml b/.github/workflows/libjs-test262.yml index 2fcb5d9fba..0078d3e255 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 + 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 \$details[0] as \$details | \$previous[0] + [{ "commit_timestamp": $(git -C ../.. log -1 --format=%ct), "run_timestamp": $(date +%s), @@ -140,6 +140,7 @@ jobs: } }] EOF + mv wasm-new-per-file-master.json ../../libjs-website/wasm/data/per-file-master.json - name: Deploy to GitHub pages uses: JamesIves/github-pages-deploy-action@4.1.1