2020-02-24 18:02:34 +01:00
|
|
|
name: Clean artifacts
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clean:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: cleanup
|
2020-03-14 11:51:47 +01:00
|
|
|
uses: kolpav/purge-artifacts-action@v1
|
2020-02-24 18:02:34 +01:00
|
|
|
with:
|
2020-03-14 11:51:47 +01:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
expire-in: 14days # all artifacts at least 14 days old
|