Update clear-cache.yml

This commit is contained in:
RustDesk 2024-03-03 22:29:31 +08:00 committed by GitHub
parent b0cbe2ae70
commit 1e6e91e4bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,3 +28,10 @@ jobs:
}) })
} }
console.log("Clear completed") 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