Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment thread
wasabbe marked this conversation as resolved.

Examples:

```yaml
- uses: oven-sh/setup-bun@v2
env:
HTTPS_PROXY: "http://your-proxy-url:8080"
NODE_USE_ENV_PROXY: "1"
```
Comment thread
wasabbe marked this conversation as resolved.

## Inputs

| Name | Description | Default | Examples |
Expand Down