Skip to content

Commit 91da660

Browse files
authored
remove artifacts older than 21 days (#157)
1 parent f42f792 commit 91da660

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cleanup.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Delete old artifacts
2+
on:
3+
schedule:
4+
- cron: '30 10 * * *' # every day at 10:30
5+
6+
jobs:
7+
delete-artifacts:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: kolpav/purge-artifacts-action@v1
11+
with:
12+
token: ${{ secrets.GITHUB_TOKEN }}
13+
expire-in: 21 days

0 commit comments

Comments
 (0)