Skip to content

Commit a678711

Browse files
committed
remove old artifacts
Signed-off-by: Dhruva Gole <[email protected]>
1 parent c199921 commit a678711

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/rm-old.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Remove old artifacts
2+
3+
on:
4+
push:
5+
branches: [ "main", "next" ]
6+
pull_request:
7+
branches: [ "main", "next" ]
8+
9+
jobs:
10+
remove-old-artifacts:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- name: Remove old artifacts
16+
uses: c-hive/gha-remove-artifacts@v1
17+
with:
18+
age: '2 days' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
19+
# Optional inputs
20+
# skip-tags: true
21+
# skip-recent: 5

0 commit comments

Comments
 (0)