🗑️ Delete Artifacts Workflow #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow dispatch for deleting unneeded artifacts. | |
# Used to clear storage budget when testing release/package creation | |
name: 🗑️ Delete Artifacts Workflow | |
on: | |
workflow_dispatch: | |
inputs: | |
days: | |
description: Delete artifacts older than n days | |
default: "5" | |
jobs: | |
delete-artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: c-hive/gha-remove-artifacts@v1 | |
with: | |
age: ${{ format('{0} days', github.event.inputs.days) }} |