mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-17 20:18:24 +02:00
fix: extract two times for custom urls
This commit is contained in:
parent
38a9038faf
commit
673843c5ea
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -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, customDownloadUrl === null);
|
||||
await install(release, token, customDownloadUrl !== null);
|
||||
setOutput('bun-version', release.tag_name);
|
||||
}
|
||||
catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue