ci: Add workflow to automatically remove old artifacts

This commit is contained in:
cheng zhen
2025-01-31 20:44:42 +08:00
parent 1330a215d3
commit 8c4f086db7

View File

@@ -17,6 +17,7 @@ jobs:
- name: Remove old artifacts - name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1 uses: c-hive/gha-remove-artifacts@v1
with: with:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
age: '5 days' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js age: '5 days' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
# Optional inputs # Optional inputs
# skip-tags: true # skip-tags: true