Revert "new: Delete cache older than 14 days."

This reverts commit 0716d005db.
This commit is contained in:
Miles Johnson 2023-04-18 11:19:47 -07:00
parent 0716d005db
commit 0027d396fa
4 changed files with 4 additions and 21 deletions

12
src/fs.ts Normal file
View file

@ -0,0 +1,12 @@
import * as core from '@actions/core';
import * as io from '@actions/io';
export async function rmrf(dir: string) {
core.debug(`Deleting ${dir}`);
try {
await io.rmRF(dir);
} catch (error: unknown) {
core.warning(`Failed to delete ${dir}: ${error}`);
}
}