diff --git a/.github/workflows/script-tsumbeta.yml b/.github/workflows/script-tsumbeta.yml index 405755c9..43fcfd44 100644 --- a/.github/workflows/script-tsumbeta.yml +++ b/.github/workflows/script-tsumbeta.yml @@ -36,6 +36,12 @@ jobs: name: index-zip - name: Test artifact download run: ls -R + - name: Delete old release and its tag + uses: dev-drprasad/delete-tag-and-release@v1.1 + with: + tag_name: latest #(required) - The name of the tag to delete. This is expected to be solely the tag name, not the name of a git reference. + delete_release: true #(optional) default: true - also delete all releases and their assets that are associated to the tag name + github_token: ${{ secrets.GITHUB_TOKEN }} # (required) - a GitHub token with write access to the repo where tags and releases will be searched and deleted - name: Release artifact id: create-release uses: actions/create-release@v1