remove artifacts older than 21 days

pull/157/head
Webber 2020-09-28 18:31:37 +02:00
parent f42f7923ed
commit d17255c73c
1 changed files with 13 additions and 0 deletions

13
.github/workflows/cleanup.yml vendored 100644
View File

@ -0,0 +1,13 @@
name: Delete old artifacts
on:
schedule:
- cron: '30 10 * * *' # every day at 10:30
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 21 days