Skip to content

Commit

Permalink
fix: delete release before creation
Browse files Browse the repository at this point in the history
  • Loading branch information
olup committed Jul 23, 2022
1 parent b7f6e30 commit 80ae673
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ on:
- main

jobs:
clean-next-release:
runs-on: ubuntu-latest
steps:
- uses: dev-drprasad/[email protected]
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
Expand Down Expand Up @@ -52,6 +63,7 @@ jobs:
tag: next

build-linux:
needs: clean-next-release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -98,6 +110,7 @@ jobs:
tag: next

build-macos-amd:
needs: clean-next-release
runs-on: macos-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 80ae673

Please sign in to comment.