mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
Fix not being added to path
This commit is contained in:
parent
9c14b74b45
commit
3f252a86a6
3 changed files with 80 additions and 81 deletions
|
@ -17,7 +17,9 @@ export default async (options?: {
|
|||
}> => {
|
||||
const { url, cacheKey } = getDownloadUrl(options);
|
||||
const cacheEnabled = cacheKey && cache.isFeatureAvailable();
|
||||
const path = join(homedir(), ".bun", "bin", "bun");
|
||||
const dir = join(homedir(), ".bun", "bin");
|
||||
action.addPath(dir);
|
||||
const path = join(dir, "bun");
|
||||
let version: string | undefined;
|
||||
let cacheHit = false;
|
||||
if (cacheEnabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue