From 7ea9275ddd83ef53b2bf466c495e330c50a7a4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 12 Jul 2024 19:13:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20v3=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55275a3..d7ace51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: push: # Sequence of patterns matched against refs/tags tags: - - '*' # Push events to matching v*, i.e. v1.0, v20.15.10 + - v3.* jobs: build: @@ -90,7 +90,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Create Release + - name: Create Draft id: create_release uses: actions/create-release@v1 env: @@ -98,5 +98,11 @@ jobs: with: tag_name: ${{ env.version }} release_name: Release ${{ env.version }} - draft: false - prerelease: false \ No newline at end of file + draft: true + prerelease: false + + - name: Create Release + run: | + gh release edit ${{ env.version }} --draft=false --latest=false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file