From af69fd9073cbf1ea65bdb79a61aee279f2750781 Mon Sep 17 00:00:00 2001 From: Refringe Date: Tue, 26 Mar 2024 16:38:48 -0400 Subject: [PATCH] Adds a clean pipeline to remove artifacts when build has finished --- .gitea/workflows/build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ca9bbf4..af47440 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -693,3 +693,15 @@ jobs: -v \ $DISCORD_WEBHOOK_URL shell: bash + + clean: + needs: [publish-release] + runs-on: ubuntu-latest + container: + image: refringe/spt-build-node:1.0.6 + steps: + - name: Remove Artifacts + uses: geekyeggo/delete-artifact@v5 + with: + name: "*-artifact" + failOnError: false