docs: add comment for easier understanding

This commit is contained in:
Jozef Steinhübl 2024-05-08 10:23:51 +02:00
parent b9b566f459
commit 6c61d0abb9
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -119,6 +119,7 @@ async function downloadBun(
url: string,
bunPath: string
): 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 extractedZipPath = await extractZip(zipPath);
const extractedBunPath = await extractBun(extractedZipPath);