mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 02:30:26 +08:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: "Setup Bun"
|
|
description: "Setup Bun by installing, downloading, and adding it to the path"
|
|
author: "xHyroM"
|
|
|
|
branding:
|
|
icon: "play-circle"
|
|
color: "white"
|
|
|
|
inputs:
|
|
bun-version:
|
|
description: "The Bun version to install."
|
|
default: "latest"
|
|
required: false
|
|
github-token:
|
|
description: "The github token secret can be passed in using {{ secrets.GITHUB_TOKEN }}"
|
|
default: ${{ github.token }}
|
|
required: false
|
|
misc-test-builds:
|
|
description: "Deprecated, use repository input instead. Install builds from https://github.com/oven-sh/misc-test-builds (not recommended!)"
|
|
required: false
|
|
repository:
|
|
description: "Repository from which the bun is downloaded. Defaults to https://github.com/oven-sh/bun"
|
|
default: "https://github.com/oven-sh/bun"
|
|
required: false
|
|
custom-download-url:
|
|
description: "Full url to download bun, for example if you want to download an artifact."
|
|
required: false
|
|
|
|
outputs:
|
|
bun-version:
|
|
description: "The Bun version that was installed."
|
|
|
|
runs:
|
|
using: "node16"
|
|
main: "dist/index.js"
|