export `findDependencyFile`

It is needed to enable cache
pull/321/head
Sergey Dolin 2 years ago
parent 72e3f80a4a
commit 03f925ed17

@ -47,7 +47,7 @@ export const restoreCache = async (
core.info(`Cache restored from key: ${cacheKey}`);
};
const findDependencyFile = (packageManager: PackageManagerInfo) => {
export const findDependencyFile = (packageManager: PackageManagerInfo) => {
let dependencyFile = packageManager.dependencyFilePattern;
const workspace = process.env.GITHUB_WORKSPACE!;
const rootContent = fs.readdirSync(workspace);

Loading…
Cancel
Save