Cache clearing #10
Workflow file for this run
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
name: Cache clearing action after closing PR | |
run-name: Cache clearing | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
clean_PR_ccache: | |
name: Delete old CCache files | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
steps: | |
- uses: yumemi-inc/clean-cache-action@v1.0.5 | |
with: | |
ref: 'refs/heads/${{ github.head_ref }}' | |
clean_PR_artifacts: | |
name: Delete old Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: stefanluptak/delete-old-pr-artifacts@v1 | |
with: | |
workflow_filename: push-master.yml | |
debug: true |