mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 17:12:51 +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([
|
const locksDeleted = tryDeleteFiles([
|
||||||
path.resolve(cachePath, 'modules-2.lock'),
|
path.resolve(cachePath, 'modules-2.lock')
|
||||||
path.resolve(cachePath, 'gc.properties')
|
|
||||||
])
|
])
|
||||||
if (!locksDeleted) {
|
if (!locksDeleted) {
|
||||||
core.warning(
|
core.warning(
|
||||||
|
|
Loading…
Reference in a new issue