Skip to content

Commit a9f77cf

Browse files
committed
fix copilot setup steps (cannot rely on global env)
1 parent 321eeb5 commit a9f77cf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
pull_request:
88
paths: [.github/workflows/copilot-setup-steps.yml]
99

10-
env:
11-
GO_VERSION: "1.25.6"
12-
NODE_VERSION: 22
10+
# Note: global env vars are NOT used here — they are not reliable in all
11+
# GitHub Actions contexts (e.g. Copilot setup steps). Values are inlined
12+
# directly into each step that needs them.
1313

1414
jobs:
1515
copilot-setup-steps:
@@ -23,12 +23,12 @@ jobs:
2323
# Go + Node versions match your helper
2424
- uses: actions/setup-go@v6
2525
with:
26-
go-version: ${{ env.GO_VERSION }}
26+
go-version: "1.25.6"
2727
cache-dependency-path: go.sum
2828

2929
- uses: actions/setup-node@v6
3030
with:
31-
node-version: ${{ env.NODE_VERSION }}
31+
node-version: 22
3232
cache: npm
3333
cache-dependency-path: package-lock.json
3434

0 commit comments

Comments
 (0)