From 0035fc23133ba679af06695898a0fe9f096bb7a1 Mon Sep 17 00:00:00 2001 From: cubemaze <117334465+cubemaze@users.noreply.github.com> Date: Wed, 11 Jan 2023 00:50:04 +0800 Subject: [PATCH] Update prerelease.yml --- .github/workflows/prerelease.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c20efb0b..4a792eaa 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -36,16 +36,14 @@ jobs: run: make -j$(($(nproc) + 1)) releases - name: Delete current release assets - uses: mknejp/delete-release-assets@v1 + uses: andreaswilli/delete-release-assets-action@v2.0.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} - tag_name: Prerelease-${{ github.ref_name }} - assets: | - *.zip - *.gz + tag: Prerelease-${{ github.ref_name }} + deleteOnlyFromDrafts: false - name: Tag Repo - uses: richardsimko/update-tag@v1.0.6 + uses: richardsimko/update-tag@v1 with: tag_name: Prerelease-${{ github.ref_name }} env: @@ -55,6 +53,7 @@ jobs: uses: softprops/action-gh-release@v1 if: ${{ success() }} with: + tag: ${{ github.ref_name }} tag_name: Prerelease-${{ github.ref_name }} files: bin/* prerelease: true