From 5c4c286e54715ebfd30f7dc315583fea6539ef54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor=20Polverari?= Date: Sun, 31 Mar 2024 00:46:42 -0300 Subject: [PATCH] made it so the Clear Cache runs automatically every 3 days at midnight --- .github/workflows/clear-cache.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clear-cache.yml b/.github/workflows/clear-cache.yml index f4df7fa04..da8d66872 100644 --- a/.github/workflows/clear-cache.yml +++ b/.github/workflows/clear-cache.yml @@ -1,8 +1,10 @@ +# Workflow credited towards the Lemonade team (https://github.com/Lemonade-emu/Lemonade/blob/18f3b2cfc593b5a9c1eb5eda439f021284f4c993/.github/workflows/clear-cache.yml) name: Clear cache -# Workflow credited towards Lemonade (https://github.com/Lemonade-emu/Lemonade/blob/18f3b2cfc593b5a9c1eb5eda439f021284f4c993/.github/workflows/clear-cache.yml) on: workflow_dispatch: + schedule: + - cron: '0 0 */3 * *' permissions: actions: write @@ -28,4 +30,4 @@ jobs: cache_id: cache.id, }) } - console.log("Clear completed") \ No newline at end of file + console.log("Clear completed")