chore: dont cache if customDownloadUrl

This commit is contained in:
xHyroM 2022-07-28 09:12:02 +02:00
parent fe160cf381
commit a11484a419
4 changed files with 15 additions and 10 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, token);
await install(release, token, customDownloadUrl === null);
setOutput('bun-version', release.tag_name);
}
catch (e) {