mirror of
https://gitea.com/actions/setup-java.git
synced 2025-04-06 07:19:39 +00:00
only Versions.kt and Dependencies.kt as cache key
This commit is contained in:
@ -31,7 +31,12 @@ const supportedPackageManager: PackageManager[] = [
|
||||
id: 'gradle',
|
||||
path: [join(os.homedir(), '.gradle', 'caches'), join(os.homedir(), '.gradle', 'wrapper')],
|
||||
// https://github.com/actions/cache/blob/0638051e9af2c23d10bb70fa9beffcad6cff9ce3/examples.md#java---gradle
|
||||
pattern: ['**/*.gradle*', '**/gradle-wrapper.properties', 'buildSrc/**/*.kt']
|
||||
pattern: [
|
||||
'**/*.gradle*',
|
||||
'**/gradle-wrapper.properties',
|
||||
'buildSrc/**/Versions.kt',
|
||||
'buildSrc/**/Dependencies.kt'
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'sbt',
|
||||
|
Reference in New Issue
Block a user