From e01328896702528d496988335f51e6e991009b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=9B=BD=E9=94=8B?= Date: Thu, 12 Mar 2026 19:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(ci/release-winget):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Node20=20=E5=BC=83=E7=94=A8=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E5=B9=B6=E5=BC=BA=E5=88=B6=E5=90=AF=E7=94=A8=20Node24?= =?UTF-8?q?=20=E8=BF=90=E8=A1=8C=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 release-winget workflow 增加 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true - 与现有 release/test workflow 的 Node24 配置保持一致 - 避免 actions/checkout、setup-go、setup-node 触发 Node20 弃用告警 --- .github/workflows/release-winget.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index e4604b3..632c11e 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -10,6 +10,9 @@ on: description: 'Tag of release you want to publish' type: string +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" + jobs: publish: runs-on: windows-latest