Skip to content

Commit

Permalink
Create remove-old-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guparan committed Apr 2, 2022
1 parent 6943590 commit 603d457
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Remove old artifacts

on:
workflow_dispatch:

jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 day' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
# Optional inputs
# skip-tags: true
# skip-recent: 5

0 comments on commit 603d457

Please sign in to comment.