mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
docs: add comment for easier understanding
This commit is contained in:
parent
b9b566f459
commit
6c61d0abb9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue