mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Merge pull request #274 from schuenadel/include-buildSrc-in-cache-key
Include *.kt files in buildSrc in cache key
This commit is contained in:
commit
ef96bec0e4
5 changed files with 44 additions and 5 deletions
7
dist/setup/index.js
vendored
7
dist/setup/index.js
vendored
|
@ -101377,7 +101377,12 @@ const supportedPackageManager = [
|
|||
id: 'gradle',
|
||||
path: [path_1.join(os_1.default.homedir(), '.gradle', 'caches'), path_1.join(os_1.default.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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue