From 00800ead7be0e66dbb8aaaecc00409d350dde837 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Thu, 25 Jul 2024 17:39:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ae7b2824..09efb7c54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -176,8 +176,9 @@ jobs: - name: Delete Pre-Release run: | - gh release delete beta -y - exit 0 + if gh release view beta &>/dev/null; then + gh release delete beta -y + fi env: GH_TOKEN: ${{ github.token }}