From e1eab8a2824198f12e005392041cb0ec1ac3cd9a Mon Sep 17 00:00:00 2001 From: Freddie Wang Date: Mon, 19 Apr 2021 14:33:56 +0800 Subject: [PATCH] clean up artifacts --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5864e2..9cdc36f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,15 @@ name: Build Asphyxia Core on: [push] 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' build-linux: runs-on: ubuntu-latest steps: