Skip to content

Commit

Permalink
clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Nov 8, 2022
1 parent 3fc9098 commit 3c308dc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions clear_cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Clear all Github Actions caches
on:
schedule:
- cron: "0 23 * * SAT"
repository_dispatch:
types: [backend_automation]
workflow_dispatch:

jobs:
my-job:
name: Delete all caches
runs-on: ubuntu-latest

steps:
- name: list caches
uses: easimon/wipe-cache@main
with:
dry-run: 'true'
- name: clear caches
if: ${{ github.actor == github.repository_owner }}
uses: easimon/wipe-cache@main
with:
dry-run: 'false'

0 comments on commit 3c308dc

Please sign in to comment.