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

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