mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-22 11:34:09 +00:00
Fix python-build-standalone
workflow (#5327)
## Summary The script reads `GITHUB_TOKEN` instead. And since #4853 merged, there is no need to use `uv run --with`.
This commit is contained in:
parent
df7a733e51
commit
025f2f3162
2 changed files with 3 additions and 3 deletions
|
@ -360,10 +360,10 @@ def render(downloads: list[PythonDownload]) -> None:
|
|||
|
||||
|
||||
async def find() -> None:
|
||||
token = os.environ.get("GH_TOKEN")
|
||||
token = os.environ.get("GITHUB_TOKEN")
|
||||
if not token:
|
||||
logging.warning(
|
||||
"`GH_TOKEN` env var not found, you may hit rate limits for GitHub API requests."
|
||||
"`GITHUB_TOKEN` env var not found, you may hit rate limits for GitHub API requests."
|
||||
)
|
||||
|
||||
headers = {"X-GitHub-Api-Version": "2022-11-28"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue