Merge pull request #274 from schuenadel/include-buildSrc-in-cache-key

Include *.kt files in buildSrc in cache key
This commit is contained in:
Marko Zivic
2022-08-10 10:10:46 +02:00
committed by GitHub
5 changed files with 44 additions and 5 deletions

View File

@ -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']
pattern: [
'**/*.gradle*',
'**/gradle-wrapper.properties',
'buildSrc/**/Versions.kt',
'buildSrc/**/Dependencies.kt'
]
},
{
id: 'sbt',