setup-bun/action.yml

26 lines
793 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:
2023-03-01 16:01:35 -08:00
description: 'The version of Bun to install. (e.g. "latest", "canary", "0.5.6", <sha>)'
2023-02-22 17:47:24 -08:00
default: latest
required: false
registry-url:
required: false
description: "Optional registry to set up for auth. Will set the registry in a project level build.toml file, and set up auth to read in from env.BUN_AUTH_TOKEN."
scope:
required: false
description: "Optional scope for authenticating against scoped registries."
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.
cache-hit:
description: If the version of Bun was cached.
2022-07-11 09:45:23 +02:00
runs:
using: node20
2023-02-22 17:47:24 -08:00
main: dist/action.js