mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 18:50:10 +08:00
debug
This commit is contained in:
parent
8463dee038
commit
dfd8567745
@ -4,6 +4,7 @@ import { addPath, info } from '@actions/core';
|
|||||||
import getAsset from './getAsset.js';
|
import getAsset from './getAsset.js';
|
||||||
import getHomeDir from './getHomeDir.js';
|
import getHomeDir from './getHomeDir.js';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
import { readdirSync } from 'fs';
|
||||||
|
|
||||||
export default async(release: Release) => {
|
export default async(release: Release) => {
|
||||||
const cache = find('bun', release.tag_name);
|
const cache = find('bun', release.tag_name);
|
||||||
@ -31,5 +32,6 @@ export default async(release: Release) => {
|
|||||||
|
|
||||||
console.log(extracted);
|
console.log(extracted);
|
||||||
const bunPath = join(getHomeDir(), ".bun", "bin");
|
const bunPath = join(getHomeDir(), ".bun", "bin");
|
||||||
|
console.log(readdirSync(bunPath));
|
||||||
addPath(bunPath);
|
addPath(bunPath);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user