mirror of
https://github.com/gradle/actions
synced 2024-11-27 11:52:24 +00:00
Don't drop gc.properties in dependencies cache
because it would disable Gradle cache cleanup
This commit is contained in:
parent
02a8a21e55
commit
d7a54a26c7
3 changed files with 3 additions and 4 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -73,8 +73,7 @@ export async function cacheDependencies(): Promise<void> {
|
|||
}
|
||||
|
||||
const locksDeleted = tryDeleteFiles([
|
||||
path.resolve(cachePath, 'modules-2.lock'),
|
||||
path.resolve(cachePath, 'gc.properties')
|
||||
path.resolve(cachePath, 'modules-2.lock')
|
||||
])
|
||||
if (!locksDeleted) {
|
||||
core.warning(
|
||||
|
|
Loading…
Reference in a new issue