fix: correct repo for misc test builds

This commit is contained in:
xHyroM 2022-07-12 18:43:56 +02:00
parent 054bb2f631
commit 6dae544af4
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ export interface Release {
export default async(version: string, token: string): Promise<Release> => {
const miscTestBuilds = (getInput('misc-test-builds') === 'true');
const repository = miscTestBuilds ? miscTestBuilds : 'oven-sh/bun'
const repository = miscTestBuilds ? 'oven-sh/misc-test-builds' : 'oven-sh/bun'
let url;
if (version === 'latest') url = `https://api.github.com/repos/${repository}/releases/latest`;
else url = `https://api.github.com/repos/${repository}/releases/tags/bun-v${version}`;