setup-bun/action.yml

36 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-11 09:45:23 +02:00
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
2022-07-11 09:45:23 +02:00
github-token:
2022-07-27 08:20:47 +02:00
description: "The github token secret can be passed in using {{ secrets.GITHUB_TOKEN }}"
default: ${{ github.token }}
required: false
2022-07-12 18:39:58 +02:00
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."
2022-07-12 18:39:58 +02:00
required: false
2022-07-11 09:45:23 +02:00
outputs:
bun-version:
description: "The Bun version that was installed."
runs:
using: "node12"
main: "dist/index.js"