docs: token

This commit is contained in:
Jozef Steinhübl 2026-01-04 23:41:29 +01:00
parent 9ad02f7c64
commit cafd14a538
No known key found for this signature in database
GPG Key ID: 8D9A5E4549AA84FD

View File

@ -66,15 +66,15 @@ If you need to override the download URL, you can use the `bun-download-url` inp
## Inputs ## Inputs
| Name | Description | Default | Examples | | Name | Description | Default | Examples |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------ | | ------------------ | --------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------ |
| `bun-version` | The version of Bun to download and install. | `latest` | `canary`, `1.0.0`, `1.0.x` | | `bun-version` | The version of Bun to download and install. | `latest` | `canary`, `1.0.0`, `1.0.x` |
| `bun-version-file` | The version of Bun to download and install from file. | `undefined` | `package.json`, `.bun-version`, `.tool-versions` | | `bun-version-file` | The version of Bun to download and install from file. | `undefined` | `package.json`, `.bun-version`, `.tool-versions` |
| `bun-download-url` | URL to download .zip file for Bun release | | | | `bun-download-url` | URL to download .zip file for Bun release | | |
| `registry-url` | Registry URL where some private package is stored. | `undefined` | `"https://npm.pkg.github.com/"` | | `registry-url` | Registry URL where some private package is stored. | `undefined` | `"https://npm.pkg.github.com/"` |
| `scope` | Scope for private packages. | `undefined` | `"@foo"`, `"@orgname"` | | `scope` | Scope for private packages. | `undefined` | `"@foo"`, `"@orgname"` |
| `no-cache` | Disable caching of the downloaded executable. | `false` | `true`, `false` | | `no-cache` | Disable caching of the downloaded executable. | `false` | `true`, `false` |
| `token` | [PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) used to fetch tags from the `oven-sh/bun` repository. Recommended for resolving wildcard/range versions to avoid rate limiting. | `${{ github.token }}` | `${{ secrets.GITHUB_TOKEN }}` | | `token` | Personal access token (PAT) used to fetch tags from the `oven-sh/bun` repository. | `${{ github.token }}` | `${{ secrets.GITHUB_TOKEN }}` |
## Outputs ## Outputs