From 4e11c0b29cc0a878fc608398eb9ba610ceea2d5e Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 4 May 2024 12:07:22 +0900 Subject: [PATCH] fix: use cached dir on linux (#540) The setup-chrome had returned the temporary directory instead of tool-cache. This Pull Request fix as returning installed tool-cache directory. --- src/channel_linux.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel_linux.ts b/src/channel_linux.ts index 31f76a9..05f98a3 100644 --- a/src/channel_linux.ts +++ b/src/channel_linux.ts @@ -72,6 +72,6 @@ export class LinuxChannelInstaller implements Installer { const root = await cache.cacheDir(extdir, "chromium", version); core.info(`Successfully Installed chromium to ${root}`); - return { root: extdir, bin: "chrome" }; + return { root, bin: "chrome" }; } }