From d071a376e1e45264ad9df71802db7a4bd8be9294 Mon Sep 17 00:00:00 2001 From: teasiu Date: Thu, 29 Apr 2021 20:00:12 +0800 Subject: [PATCH] update --- .github/workflows/remove-old-artifacts.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/remove-old-artifacts.yml diff --git a/.github/workflows/remove-old-artifacts.yml b/.github/workflows/remove-old-artifacts.yml new file mode 100644 index 0000000..8848ce7 --- /dev/null +++ b/.github/workflows/remove-old-artifacts.yml @@ -0,0 +1,16 @@ +name: Remove old artifacts + +on: + workflow_dispatch: + +jobs: + remove-old-artifacts: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Remove old artifacts + uses: c-hive/gha-remove-artifacts@v1 + with: + age: '1 day' + skip-recent: 5