Skip to content

Commit 7cd2920

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 5bee076 + 62103ab commit 7cd2920

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/old.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Remove old artifacts
2-
3-
on: workflow_dispatch
1+
name: 'nightly artifacts cleanup'
2+
on:
3+
schedule:
4+
- cron: '0 1 * * *' # every night at 1 am UTC
45

56
jobs:
6-
remove-old-artifacts:
7+
delete-artifacts:
78
runs-on: ubuntu-latest
8-
99
steps:
10-
- name: Remove old artifacts
11-
uses: c-hive/gha-remove-artifacts@v1
12-
with:
13-
age: '1 day'
10+
- uses: kolpav/purge-artifacts-action@v1
11+
with:
12+
token: $
13+
expire-in: 7days # Set this to 0 to delete all artifacts

0 commit comments

Comments
 (0)