diff --git a/dist/utils/install.js b/dist/utils/install.js index fa23c5e..11c702e 100644 --- a/dist/utils/install.js +++ b/dist/utils/install.js @@ -4,12 +4,15 @@ 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 asset = getAsset(release.assets); const path = join(getHomeDir(), '.bun', 'bin'); const cache = find('bun', release.version) || await restoreCache([path], `bun-${process.platform}-${asset.name}`); if (cache) { info(`Using cached Bun installation from ${cache}.`); + console.log(path); + console.log(readdirSync(path)); addPath(path); return; }