Skip to content

Commit

Permalink
fix: use cached dir on linux (#540)
Browse files Browse the repository at this point in the history
The setup-chrome had returned the temporary directory instead of
tool-cache. This Pull Request fix as returning installed tool-cache directory.
  • Loading branch information
ueokande committed May 4, 2024
1 parent 8c84ae6 commit 4e11c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel_linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" };
}
}

0 comments on commit 4e11c0b

Please sign in to comment.