mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Clear GH Actions cache periodically (#5946)
This commit is contained in:
parent
dada092a1b
commit
c487b7c124
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ci-cache-cleaner.yaml
vendored
Normal file
19
.github/workflows/ci-cache-cleaner.yaml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: CI Cache Clean
|
||||
on:
|
||||
schedule:
|
||||
# Every 5 days
|
||||
- cron: '0 0 */5 * *'
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: List Actions Cache
|
||||
uses: easimon/wipe-cache@main
|
||||
with:
|
||||
dry-run: 'true'
|
||||
|
||||
- name: Clear Actions Cache
|
||||
uses: easimon/wipe-cache@main
|
||||
Loading…
Reference in a new issue