From 1e6e91e4bd047e7f250d566cef97b504f168de07 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Sun, 3 Mar 2024 22:29:31 +0800 Subject: [PATCH] Update clear-cache.yml --- .github/workflows/clear-cache.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/clear-cache.yml b/.github/workflows/clear-cache.yml index 2645838c8..cd94cab68 100644 --- a/.github/workflows/clear-cache.yml +++ b/.github/workflows/clear-cache.yml @@ -28,3 +28,10 @@ jobs: }) } console.log("Clear completed") + + - name: Purge cache # Above seems not clear thouroughly, so add this to double clear + uses: MyAlbum/purge-cache@v2 + with: + accessed: true # Purge caches by their last accessed time (default) + created: false # Purge caches by their created time (default) + max-age: 1 # in seconds