docs: add comment for easier understanding
This commit is contained in:
parent
b9b566f459
commit
6c61d0abb9
@ -119,6 +119,7 @@ async function downloadBun(
|
|||||||
url: string,
|
url: string,
|
||||||
bunPath: string
|
bunPath: string
|
||||||
): Promise<string | undefined> {
|
): Promise<string | undefined> {
|
||||||
|
// Workaround for https://github.com/oven-sh/setup-bun/issues/79 and https://github.com/actions/toolkit/issues/1179
|
||||||
const zipPath = addExtension(await downloadTool(url), ".zip");
|
const zipPath = addExtension(await downloadTool(url), ".zip");
|
||||||
const extractedZipPath = await extractZip(zipPath);
|
const extractedZipPath = await extractZip(zipPath);
|
||||||
const extractedBunPath = await extractBun(extractedZipPath);
|
const extractedBunPath = await extractBun(extractedZipPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user