From 13974bf4080217829a76fcf294578738ba51afcf Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Wed, 1 Mar 2023 16:01:35 -0800 Subject: [PATCH] Document usage of action downloads --- README.md | 12 ++++++++++-- action.yml | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77f42ae..6bb6b35 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions. ## Usage -### Stable release +### Latest release ```yaml - uses: oven-sh/setup-bun@v1 @@ -36,7 +36,15 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions. bun-version: 9be68ac2350b965037f408ce4d47c3b9d9a76b63 ``` -### Custom Download URL +### Action run + +```yaml +- uses: oven-sh/setup-bun@v1 + with: + bun-version: "action:4308768069" +``` + +### Custom download URL ```yaml - uses: oven-sh/setup-bun@v1 diff --git a/action.yml b/action.yml index 2f217ae..8af4b64 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ branding: color: white inputs: bun-version: - description: 'The version of Bun to install. (e.g. "latest", "canary", "0.5.6", )' + description: 'The version of Bun to install. (e.g. "latest", "canary", "0.5.6", )' default: latest required: false outputs: