Skip to content

Commit d2303a9

Browse files
authored
Add GitHub Action for Remove old artifacts (#236)
[skip ci]
1 parent bfd3e84 commit d2303a9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Remove old artifacts
2+
3+
on:
4+
schedule:
5+
# Every day at 1am
6+
- cron: '0 1 * * *'
7+
8+
jobs:
9+
remove-old-artifacts:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
13+
steps:
14+
- name: Remove old artifacts
15+
uses: c-hive/[email protected]
16+
with:
17+
age: '1 month'
18+
skip-tags: true
19+
skip-recent: 4

0 commit comments

Comments
 (0)