From 40d83e69afddd400b64d21cc8e1cc4c4cda87ddd Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Mon, 2 Feb 2026 20:06:35 +0800 Subject: [PATCH] =?UTF-8?q?chore(workflow):=20=E6=9B=B4=E6=96=B0=20.NET=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=B9=B6=E7=AE=80=E5=8C=96=20NUGET=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 .NET 版本从 9.0.x 更新到 10.x - 移除 NUGET_USER 配置中的注释,保持配置简洁 - [skip ci] --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9694ded..c164bea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,7 +36,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Install unzip (for reading .nuspec from .nupkg) run: sudo apt-get update && sudo apt-get install -y unzip @@ -106,7 +106,7 @@ jobs: id: nuget_login uses: NuGet/login@v1 with: - user: ${{ secrets.NUGET_USER }} # 推荐将用户名放 secrets + user: ${{ secrets.NUGET_USER }} # 将所有生成的包推送到 nuget.org # 使用临时 API 密钥进行身份验证