From b1f7a397be80f3207cf7bd8ddc0949d8cf76cae6 Mon Sep 17 00:00:00 2001 From: rhenwinch Date: Fri, 14 Jun 2024 00:09:54 +0800 Subject: [PATCH] ci(workflow): use EndBug's action to update tags --- .github/workflows/Build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index f191d291d..5f48fcd1d 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -67,6 +67,11 @@ jobs: echo "Version: $version" echo "VERSION=$version" >> $GITHUB_ENV + - name: Update old pre-release tag + uses: EndBug/latest-tag@latest + with: + tag-name: pre-release + - name: Generate changelogs uses: ardalanamini/auto-changelog@v4 id: changelog @@ -87,14 +92,6 @@ jobs: default-commit-type: 📝 Other Changes semver: false - - name: Update old pre-release tag - uses: jay2610/delete-older-releases@1.4.0 - with: - keep_latest: 0 - delete_type: 'prerelease' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Upload new pre-release uses: softprops/action-gh-release@v2 with: