fix(ci): hardcode RUNNER_TOOL_CACHE path - runner context unbound in job env #92

Merged
nrupard merged 1 commit from fix/e2e-runner-toolcache into main 2026-06-05 16:18:59 +02:00
Owner

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

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
fix(ci): hardcode RUNNER_TOOL_CACHE path - runner context unbound in job env
Some checks failed
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt + clippy + compile + tests (pull_request) Failing after 2m0s
020631b3b0
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
nrupard deleted branch fix/e2e-runner-toolcache 2026-06-05 16:18:59 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!92
No description provided.