mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-26 01:26:19 +08: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
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…
x
Reference in New Issue
Block a user