From 162b37c5da4c26c49e7705d40621021ee02b9ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sat, 16 Nov 2024 12:00:11 +0100 Subject: [PATCH] fix: pass empty array instead undefined --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b67a9b8..d884f1d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ runAction({ readVersionFromFile(getInput("bun-version-file")) || undefined, customUrl: getInput("bun-download-url") || undefined, - registries: registries.length > 0 ? registries : undefined, + registries: registries, noCache: getBooleanInput("no-cache") || false, }) .then(({ version, revision, bunPath, url, cacheHit }) => {