fix(ci): hardcode RUNNER_TOOL_CACHE path - runner context unbound in job env #92
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/e2e-runner-toolcache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The previous attempt set RUNNER_TOOL_CACHE to ${{ runner.temp }}/toolcache, which Forgejo's workflow schema rejects: the
runnercontext is not yet bound when job-env is evaluated, so the workflow fails to load with "Unknown Variable Access runner".Switch to a fixed /tmp/toolcache. /tmp is writable on every runner and the prepare-cache step still mkdir -p's it before setup-node runs.
#PMS-140
The previous attempt set RUNNER_TOOL_CACHE to ${{ runner.temp }}/toolcache, which Forgejo's workflow schema rejects: the `runner` context is not yet bound when job-env is evaluated, so the workflow fails to load with "Unknown Variable Access runner". Switch to a fixed /tmp/toolcache. /tmp is writable on every runner and the prepare-cache step still mkdir -p's it before setup-node runs. #PMS-140