action: better pre-release logic

This commit is contained in:
Steve Johnson 2023-11-03 01:54:56 +08:00
parent 80037c2d23
commit dc80d751cb

View File

@ -52,12 +52,12 @@ jobs:
with: with:
arguments: --no-daemon app:assembleMeta-AlphaRelease arguments: --no-daemon app:assembleMeta-AlphaRelease
- name: Delete current release assets # Delete old Prerelease-alpha
uses: andreaswilli/delete-release-assets-action@v2.0.0 - uses: dev-drprasad/delete-tag-and-release@v1.0
with: with:
tag_name: Prerelease-alpha
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
tag: Prerelease-alpha delete_release: true
deleteOnlyFromDrafts: false
- name: Tag Repo - name: Tag Repo
uses: richardsimko/update-tag@v1 uses: richardsimko/update-tag@v1