mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
chore: build
This commit is contained in:
parent
dfd8567745
commit
8c96e64ebf
1 changed files with 2 additions and 0 deletions
2
dist/utils/install.js
vendored
2
dist/utils/install.js
vendored
|
@ -3,6 +3,7 @@ import { addPath, info } from '@actions/core';
|
|||
import getAsset from './getAsset.js';
|
||||
import getHomeDir from './getHomeDir.js';
|
||||
import { join } from 'path';
|
||||
import { readdirSync } from 'fs';
|
||||
export default async (release) => {
|
||||
const cache = find('bun', release.tag_name);
|
||||
if (cache) {
|
||||
|
@ -19,5 +20,6 @@ export default async (release) => {
|
|||
addPath(newCache);
|
||||
console.log(extracted);
|
||||
const bunPath = join(getHomeDir(), ".bun", "bin");
|
||||
console.log(readdirSync(bunPath));
|
||||
addPath(bunPath);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue