unity-builder/.github/workflows/cleanup.yml
Webber Takken 89df68796c
add activation workflow and set retention periods (#201)
* add activation workflow

* Trigger on push as well

* use specific version

* Set more sensible retention periods
2021-01-23 10:06:32 +01:00

14 lines
295 B
YAML

name: Delete old artifacts
on:
schedule:
- cron: '30 10 * * SUN' # every sunday 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