File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,15 @@ async function computeCacheKey(
93
93
const pattern = cacheDependencyPath
94
94
? cacheDependencyPath . trim ( ) . split ( '\n' )
95
95
: packageManager . pattern ;
96
- const fileHash = await glob . hashFiles ( pattern . join ( '\n' ) ) ;
96
+ const fileHash = await glob . hashFiles ( pattern . join ( '\n' ) , verbose = true ) ;
97
97
if ( ! fileHash ) {
98
98
throw new Error (
99
99
`No file in ${ process . cwd ( ) } matched to [${ pattern } ], make sure you have checked out the target repository`
100
100
) ;
101
101
}
102
- return `${ CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -${ packageManager . id } -${ fileHash } ` ;
102
+ let cacheKey : string = `${ CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -${ packageManager . id } -${ fileHash } ` ;
103
+ core . log ( `cacheKey is ${ cacheKey } ` ) ;
104
+ return cacheKey ;
103
105
}
104
106
105
107
/**
You can’t perform that action at this time.
0 commit comments