From 173f35487e9f2d60e4655c20618d86e7be6fec32 Mon Sep 17 00:00:00 2001
From: GyDi <zzzgydi@gmail.com>
Date: Tue, 13 Dec 2022 18:13:28 +0800
Subject: [PATCH] chore: fix ci

---
 .github/workflows/alpha.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml
index 2da434a..7dbdca0 100644
--- a/.github/workflows/alpha.yml
+++ b/.github/workflows/alpha.yml
@@ -64,6 +64,22 @@ jobs:
           yarn install --network-timeout 1000000
           yarn run check
 
+      - name: Delete current release assets
+        uses: mknejp/delete-release-assets@v1
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          tag: alpha
+          fail-if-no-assets: false
+          fail-if-no-release: false
+          assets: |
+            *.zip
+            *.gz
+            *.AppImage
+            *.deb
+            *.dmg
+            *.msi
+            *.sig
+
       - name: Tauri build
         uses: tauri-apps/tauri-action@v0
         env:
-- 
GitLab