-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
I'm seeing the following error when using the latest 0.12.0 version of this GitHub Action:
Setup Bazelisk
Error: ReferenceError: token is not defined
at downloadBazelisk (/runner/_work/_actions/bazel-contrib/setup-bazel/0.12.0/dist/index.js:94:1)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at setupBazelisk (/runner/_work/_actions/bazel-contrib/setup-bazel/0.12.0/dist/index.js:43:1)
I think this may be a regression introduced via 438b351. In that commit, I saw a const token assignment was replaced with reading an environment variable, but I believe one of the existing token references was missed:
Line 94 in c50333a
| const downloadPath = await tc.downloadTool(url, undefined, `token ${token}`) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels