FluentUI/.github/workflows/remove-old-artifacts.yml
朱子楚\zhuzi ff93a6204a update
2023-07-05 19:18:32 +08:00

13 lines
325 B
YAML

name: 'Delete old artifacts'
on:
schedule:
- cron: '0 * * * *' # every hour
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 7days # Setting this to 0 will delete all artifacts