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