feat: remove retry attempts

This commit is contained in:
Jozef Steinhübl 2024-07-28 08:50:18 +02:00
parent 4bc047ad25
commit 54abc74d5b
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
2 changed files with 2 additions and 18 deletions

View file

@ -13,7 +13,7 @@ import { downloadTool, extractZip } from "@actions/tool-cache";
import { getExecOutput } from "@actions/exec";
import { writeBunfig } from "./bunfig";
import { saveState } from "@actions/core";
import { addExtension, retry } from "./utils";
import { addExtension } from "./utils";
export type Input = {
customUrl?: string;
@ -89,8 +89,7 @@ export default async (options: Input): Promise<Output> => {
if (!cacheHit) {
info(`Downloading a new version of Bun: ${url}`);
// 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 downloadBun(url, bunPath);
}
if (!revision) {