1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

Meta: Actually copy the new wasm per-file results after generating them

Otherwise the website data won't be updated.
This commit is contained in:
Ali Mohammad Pur 2022-03-16 20:19:24 +03:30
parent 5b59375a56
commit cb6b372a3b

View file

@ -119,7 +119,7 @@ jobs:
working-directory: libjs-test262/Build working-directory: libjs-test262/Build
run: | run: |
_deps/lagom-build/test-wasm --per-file > ../../libjs-website/wasm/data/per-file-master.json _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] + [{ \$details[0] as \$details | \$previous[0] + [{
"commit_timestamp": $(git -C ../.. log -1 --format=%ct), "commit_timestamp": $(git -C ../.. log -1 --format=%ct),
"run_timestamp": $(date +%s), "run_timestamp": $(date +%s),
@ -140,6 +140,7 @@ jobs:
} }
}] }]
EOF EOF
mv wasm-new-per-file-master.json ../../libjs-website/wasm/data/per-file-master.json
- name: Deploy to GitHub pages - name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@4.1.1 uses: JamesIves/github-pages-deploy-action@4.1.1