Skip to content

Commit 6d521eb

Browse files
authored
ci(build.yml): Remove release before upload
1 parent b2cde22 commit 6d521eb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ jobs:
9898
cd ..
9999
cp ${{ matrix.target }}.${{ env._EXT }} eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}
100100
101+
- uses: ClementTsang/delete-tag-and-release@v0.4.0
102+
if: github.ref == 'refs/heads/master'
103+
continue-on-error: true
104+
with:
105+
delete_release: true
106+
tag_name: ${{ env.VERSION }}
107+
env:
108+
GITHUB_TOKEN: ${{ secrets.PAT }}
109+
101110
- name: Upload for prerelease
102111
if: github.ref == 'refs/heads/master'
103112
uses: softprops/action-gh-release@v2.0.8

0 commit comments

Comments
 (0)