diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7eceec26..f1a9c0c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,11 @@ jobs: run: npm run build:release:ci - name: Delete unstable release - run: gh release delete unstable --cleanup-tag --yes || echo "unstable release was not deleted" - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - + - uses: dev-drprasad/delete-tag-and-release@v1.0 + with: + tag_name: unstable + github_token: ${{ secrets.GH_TOKEN }} + - name: Create unstable release run: gh release create unstable ./release/playlet.zip ./playlet/src/lib/playlet-lib.zip --notes "This is an automated release." --prerelease --title unstable env: