Create remove-artifacts.yaml
commit7e7c9fa03741e0a58859b7bc452d2a090f2109de
authoriko <ilyakooo0@gmail.com>
dateThu 3 Jun 2021, 16:13 (5 years ago)
parent1ee90ee
.github/workflows/remove-artifacts.yamlnew file+18
@@ -0,0 +1,18 @@
1+name: Remove old artifacts
2+
3+on:
4+ schedule:
5+ - cron: '0 0 * * *'
6+
7+jobs:
8+ remove-old-artifacts:
9+ runs-on: ubuntu-latest
10+ timeout-minutes: 10
11+
12+ steps:
13+ - name: Remove old artifacts
14+ uses: c-hive/gha-remove-artifacts@v1
15+ with:
16+ age: '7 days'
17+ skip-tags: true
18+ skip-recent: 10