mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 02:30:26 +08:00
fix: extract two times for custom urls
This commit is contained in:
parent
38a9038faf
commit
673843c5ea
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…
x
Reference in New Issue
Block a user