setup-bun/action.yml

28 lines
860 B
YAML
Raw Normal View History

2023-02-22 17:47:24 -08:00
name: Setup Bun
description: Download, install, and setup Bun to your path.
author: robobun
2022-07-11 09:45:23 +02:00
branding:
2023-02-22 17:47:24 -08:00
icon: play-circle
color: white
2022-07-11 09:45:23 +02:00
inputs:
bun-version:
description: 'The version of Bun to install. (e.g. "latest", "canary", "1.0.0", "1.0.x", <sha>)'
2023-02-22 17:47:24 -08:00
default: latest
required: false
registry-url:
required: false
description: "The URL of the package registry to use for installing Bun. Set the $BUN_AUTH_TOKEN environment variable to authenticate with the registry."
scope:
required: false
description: "The scope for authenticating with the package registry."
2022-07-11 09:45:23 +02:00
outputs:
bun-version:
2023-02-22 17:47:24 -08:00
description: The version of Bun that was installed.
bun-revision:
description: The revision of Bun that was installed.
2023-02-22 17:47:24 -08:00
cache-hit:
description: If the version of Bun was cached.
2022-07-11 09:45:23 +02:00
runs:
using: node20
main: dist/index.js