From cdb241b45a34df8d273f7cd30f1ac0c3159509f3 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Wed, 8 Mar 2023 14:46:14 +0800 Subject: [PATCH] ci: auto release --- .github/workflows/release-build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index a0368e3..6765018 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -1,9 +1,9 @@ name: Build on: - release: - types: - - published + push: + tags: + - v3.** jobs: build: @@ -63,6 +63,7 @@ jobs: - name: Upload packages uses: ncipollo/release-action@v1 with: + name: ${{ github.ref_name }} token: ${{ secrets.workflow_token }} allowUpdates: true replacesArtifacts: true