This commit is contained in:
Jozef Steinhübl 2024-04-02 11:50:13 +02:00
parent 090f970b70
commit 9418ea79b4

View file

@ -89,6 +89,7 @@ export default async (options: Input): Promise<Output> => {
info(`Downloading a new version of Bun: ${url}`); info(`Downloading a new version of Bun: ${url}`);
// TODO: remove this, temporary fix for https://github.com/oven-sh/setup-bun/issues/73 // TODO: remove this, temporary fix for https://github.com/oven-sh/setup-bun/issues/73
revision = await retry(async () => await downloadBun(url, bunPath), 3); revision = await retry(async () => await downloadBun(url, bunPath), 3);
console.log("Downloaded Bun revision: " + revision);
} }
if (!revision) { if (!revision) {
@ -106,7 +107,9 @@ export default async (options: Input): Promise<Output> => {
url, url,
}; };
console.log("Saving cache state: " + JSON.stringify(cacheState));
saveState("cache", JSON.stringify(cacheState)); saveState("cache", JSON.stringify(cacheState));
console.log("Saved cache state: " + JSON.stringify(cacheState));
return { return {
version, version,