From 80ae6738c588d0de0a7aa20908430f8717873e3e Mon Sep 17 00:00:00 2001 From: olup Date: Sat, 23 Jul 2022 23:36:41 +0200 Subject: [PATCH] fix: delete release before creation --- .github/workflows/build-next.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build-next.yaml b/.github/workflows/build-next.yaml index 2a09fe9..79519e8 100644 --- a/.github/workflows/build-next.yaml +++ b/.github/workflows/build-next.yaml @@ -6,7 +6,18 @@ on: - main jobs: + clean-next-release: + runs-on: ubuntu-latest + steps: + - uses: dev-drprasad/delete-tag-and-release@v0.2.0 + with: + delete_release: true + tag_name: next + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build-windows: + needs: clean-next-release runs-on: windows-latest steps: - name: Checkout @@ -52,6 +63,7 @@ jobs: tag: next build-linux: + needs: clean-next-release runs-on: ubuntu-latest steps: - name: Checkout @@ -98,6 +110,7 @@ jobs: tag: next build-macos-amd: + needs: clean-next-release runs-on: macos-latest steps: - name: Checkout