fix
This commit is contained in:
parent
399635b983
commit
ec2e62aa65
@ -172,10 +172,7 @@ async function downloadBun(
|
|||||||
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
|
// Workaround for https://github.com/oven-sh/setup-bun/issues/79 and https://github.com/actions/toolkit/issues/1179
|
||||||
const zipPath = addExtension(
|
const zipPath = addExtension(await downloadTool(downloadMeta.url), ".zip");
|
||||||
await downloadTool(downloadMeta.url, undefined, downloadMeta.auth),
|
|
||||||
".zip",
|
|
||||||
);
|
|
||||||
const extractedZipPath = await extractZip(zipPath);
|
const extractedZipPath = await extractZip(zipPath);
|
||||||
const extractedBunPath = await extractBun(extractedZipPath);
|
const extractedBunPath = await extractBun(extractedZipPath);
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user