mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-09 22:02:19 +08:00
Don't drop gc.properties in dependencies cache
because it would disable Gradle cache cleanup
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user