mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 13:08:27 +02:00
chore: build
This commit is contained in:
parent
9f7c2a5c23
commit
054bb2f631
2 changed files with 7 additions and 4 deletions
|
@ -16,7 +16,7 @@ export interface Release {
|
|||
}
|
||||
|
||||
export default async(version: string, token: string): Promise<Release> => {
|
||||
const miscTestBuilds = getInput('misc-test-builds');
|
||||
const miscTestBuilds = (getInput('misc-test-builds') === 'true');
|
||||
const repository = miscTestBuilds ? miscTestBuilds : 'oven-sh/bun'
|
||||
let url;
|
||||
if (version === 'latest') url = `https://api.github.com/repos/${repository}/releases/latest`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue