jdx / mise

dev tools, env vars, task runner

Home Page:https://mise.jdx.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GITHUB_TOKEN for cargo and ubi backends

Adirelle opened this issue · comments

The cargo-binstall and ubi backends delegates the work to the tool binaries, which may have to query the GitHub API to fetch the informations about the latest releases. Right now, mise itself can use the content of the GITHUB_API_TOKEN variable to access the API but these tools expect the token to be stored in a variable named GITHUB_TOKEN.

The backends could use GITHUB_API_TOKEN to set GITHUB_TOKEN when it is not defined.

commented

👍