fix: add token to install

This commit is contained in:
xHyroM 2022-07-28 07:59:44 +02:00
parent 079e10bfd6
commit 89f6825456
5 changed files with 7 additions and 6 deletions

2
dist/index.js vendored
View file

@ -23,7 +23,7 @@ const main = async () => {
if ((release === null || release === void 0 ? void 0 : release.message) === 'Not Found')
return exit('Invalid bun version.', miscTestBuilds);
info(`Going to install release ${release.version}`);
await install(release);
await install(release, token);
setOutput('bun-version', release.tag_name);
}
catch (e) {