Merge 6cc74cb0019f36a2ad34d3ed777af10ee3c2a423 into 0c5077e51419868618aeaa5fe8019c62421857d6

This commit is contained in:
Jaskaran Singh 2026-05-02 22:51:33 -04:00 committed by GitHub
commit 716020277c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,20 @@ If you need to override the download URL, you can use the `bun-download-url` inp
bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip"
```
### Behind a Proxy
If you are running this behind a proxy make sure your `HTTPS_PROXY` or `https_proxy` or `HTTP_PROXY` or `http_proxy` are set up correctly.
Then run this action with the `NODE_USE_ENV_PROXY=1` environment variable set.
Examples:
```yaml
- uses: oven-sh/setup-bun@v2
env:
HTTPS_PROXY: "http://your-proxy-url:8080"
NODE_USE_ENV_PROXY: "1"
```
## Inputs
| Name | Description | Default | Examples |