Skip to content

Commit 6701375

Browse files
authored
Create CleanupArtifacts.yml
1 parent d3fb47e commit 6701375

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Clean Artifacts
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
inputs:
8+
logLevel:
9+
description: 'Log level'
10+
required: true
11+
default: 'warning'
12+
13+
jobs:
14+
clean:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: cleanup
18+
uses: glassechidna/artifact-cleaner@v2
19+
with:
20+
minimumAge: 864000 # all artifacts at least 10 days old

0 commit comments

Comments
 (0)