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:
Jo 2024-07-23 20:20:36 +08:00 committed by GitHub
parent df7a733e51
commit 025f2f3162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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"}