Clean Artifacts #1153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clean Artifacts | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
jobs: | |
clean: | |
runs-on: ubuntu-latest | |
steps: | |
- name: cleanup | |
uses: glassechidna/artifact-cleaner@v2 | |
with: | |
minimumAge: 864000 # all artifacts at least 10 days old |