diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb992078b..d4bda8f6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: '5' @@ -64,9 +64,8 @@ jobs: git log -"5" --format="- %H %s" | sed '/^$/d' >> ReleaseNotes.md - name: Delete Old Prerelease - uses: dev-drprasad/delete-tag-and-release@v0.2.1 - with: - tag_name: ${{ env.OLD_PRE_TAG }} + run: | + gh release delete ${{ env.OLD_PRE_TAG }} --cleanup-tag env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}