From dc80d751cb09a600e707a5d27b559ce29bbd722e Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Fri, 3 Nov 2023 01:54:56 +0800 Subject: [PATCH] action: better pre-release logic --- .github/workflows/build-pre-release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pre-release.yaml b/.github/workflows/build-pre-release.yaml index 6869babb..e6478561 100644 --- a/.github/workflows/build-pre-release.yaml +++ b/.github/workflows/build-pre-release.yaml @@ -52,12 +52,12 @@ jobs: with: arguments: --no-daemon app:assembleMeta-AlphaRelease - - name: Delete current release assets - uses: andreaswilli/delete-release-assets-action@v2.0.0 + # Delete old Prerelease-alpha + - uses: dev-drprasad/delete-tag-and-release@v1.0 with: + tag_name: Prerelease-alpha github_token: ${{ secrets.GITHUB_TOKEN }} - tag: Prerelease-alpha - deleteOnlyFromDrafts: false + delete_release: true - name: Tag Repo uses: richardsimko/update-tag@v1