mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 18:02:15 +00:00
export findDependencyFile
It is needed to enable cache
This commit is contained in:
parent
72e3f80a4a
commit
03f925ed17
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue