Skip to content

Commit

Permalink
Update cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarner committed Sep 3, 2021
1 parent bcc1ffa commit 98e2f7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Cleanup

on:
schedule:
- cron: '0 1 * * *' # every day at 1am
- cron: '56 17 * * *' # every day at 5:56pm UTC

jobs:
remove-old-artifacts:
Expand All @@ -13,6 +13,6 @@ jobs:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '7 days' # delete artifacts older than this
skip-tags: true # keep artifacts created by runs on tagged commits
skip-recent: 5 # keep the last 5 runs, regardless of age
age: '2 days' # delete artifacts older than this
skip-tags: false # don't treat artifacts created by runs on tagged commits differently
skip-recent: 1 # keep the latest run, regardless of age

0 comments on commit 98e2f7c

Please sign in to comment.