chore: build

This commit is contained in:
xHyroM 2022-07-12 18:42:27 +02:00
parent 9f7c2a5c23
commit 054bb2f631
2 changed files with 7 additions and 4 deletions

View file

@ -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`;