Skip to content

The agent that grows with you

fix(ci): runner.temp is not a valid context in job-level env

Tekniumf7f7d2f99475
diff --git a/.github/workflows/desktop-windows-e2e.yml b/.github/workflows/desktop-windows-e2e.yml
index d2ddfe57e0f..74a0509aaa3 100644
--- a/.github/workflows/desktop-windows-e2e.yml
+++ b/.github/workflows/desktop-windows-e2e.yml
@@ -49,7 +49,12 @@ jobs:
timeout-minutes: 180
env:
- HERMES_E2E_WORKROOT: ${{ runner.temp }}\hermes-desktop-e2e
+ # Sibling of the checkout (D:\a\hermes-agent\hermes-desktop-e2e): outside
+ # the repo so the staged bare clone and the install never collide with
+ # the checkout itself. NOTE: ${{ runner.temp }} is NOT available in
+ # job-level env (only github/inputs/matrix/needs/secrets/strategy/vars);
+ # that exact mistake made the whole workflow file invalid on first push.
+ HERMES_E2E_WORKROOT: ${{ github.workspace }}\..\hermes-desktop-e2e
steps:
# Full history: the driver resolves HEAD~1 and bare-clones this