Keep only the latest Actions run

This commit is contained in:
Howard Wu 2022-05-17 03:03:05 +08:00 committed by GitHub
parent 52da4c1457
commit cce04abf8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -620,3 +620,10 @@ jobs:
with:
name: ${{ env.artifact_name }}
path: "./${{ matrix.arch }}/*"
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 0