File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111 name : ' build and test'
1212 runs-on : ubuntu-24.04
1313 timeout-minutes : 60
14- env :
15- EMSDK_CACHE : ${{ github.workspace }}/../emsdk-cache
1614 steps :
1715 - uses : actions/checkout@v6
1816 with :
@@ -32,10 +30,13 @@ jobs:
3230 h.update(json.dumps(config["libffi"], sort_keys=True).encode())
3331 h.update(json.dumps(config["mpdec"], sort_keys=True).encode())
3432 h.update(Path("Platforms/emscripten/make_libffi.sh").read_bytes())
33+ emsdk_cache = Path(os.environ["RUNNER_TEMP"]) / "emsdk-cache"
3534 with open(os.environ["GITHUB_OUTPUT"], "a") as f:
3635 f.write(f"emscripten-version={config['emscripten-version']}\n")
3736 f.write(f"node-version={config['node-version']}\n")
3837 f.write(f"deps-hash={h.hexdigest()}\n")
38+ with open(os.environ["GITHUB_ENV"], "a") as f:
39+ f.write(f"EMSDK_CACHE={emsdk_cache}\n")
3940 - name : " Install Node.js"
4041 uses : actions/setup-node@v6
4142 with :
You can’t perform that action at this time.
0 commit comments