Skip to content

Remove old artifacts #283

Remove old artifacts

Remove old artifacts #283

name: Remove old artifacts
on:
watch:
types: [started]
schedule:
# Every day at 1am
- cron: '0 1 * * *'
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Remove old artifacts
uses: exira/[email protected]
if: github.actor == github.event.repository.owner.login
with:
age: '5 days'
skip-tags: false
- name: Remove old artifacts
uses: exira/[email protected]
if: github.actor != github.event.repository.owner.login
with:
age: '5 days'
skip-tags: false