Don't drop gc.properties in dependencies cache

because it would disable Gradle cache cleanup
This commit is contained in:
Paul Merlin 2020-06-15 15:41:53 +02:00
parent 02a8a21e55
commit d7a54a26c7
3 changed files with 3 additions and 4 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -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(