From c95df6fdb38264f6cc86b14a582a152a2fe22ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ACT=E4=B8=B6=E6=B5=81=E6=98=9F=E9=9B=A8?= <1340145680@qq.com> Date: Mon, 6 Apr 2026 01:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=93=E5=8C=85=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96Actions=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03f4e1c..30e38d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,15 @@ -name: 构建发布 +name: Build and Release on: push: - branches: - - main - - dev - pull_request: - branches: - - main + tags: + - "v*" workflow_dispatch: + inputs: + version: + description: "Version number (e.g., 1.0.0)" + required: false + type: string env: NODE_VERSION: "24"