Clean Artifacts #18
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
# We generate 80MB+ of artifacts on each run of main.yml, mainly to store the | |
# downloaded replay browser. Clean these artifacts regularly to keep them from | |
# piling up. | |
# | |
# From https://github.com/glassechidna/artifact-cleaner | |
name: Clean Artifacts | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
clean: | |
runs-on: ubuntu-latest | |
steps: | |
- name: cleanup | |
uses: glassechidna/artifact-cleaner@master | |
with: | |
minimumAge: 86400 # all artifacts at least one day old |