From 7a34282205b883afcaeeead67d85e1086836acfb Mon Sep 17 00:00:00 2001
From: GwWuYou <95328647+GeWuYou@users.noreply.github.com>
Date: Thu, 11 Dec 2025 10:19:34 +0800
Subject: [PATCH] =?UTF-8?q?build(publish):=20=E7=A6=81=E7=94=A8=E7=AC=A6?=
=?UTF-8?q?=E5=8F=B7=E5=8C=85=E7=94=9F=E6=88=90=E4=BB=A5=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=8F=91=E5=B8=83=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 GitHub Actions 工作流中禁用符号包生成
- 更新项目文件配置,移除符号包相关设置
- 简化打包命令参数,提高构建效率
---
.github/workflows/publish.yml | 2 +-
GFramework.csproj | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index eb6bb17..203c277 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -60,7 +60,7 @@ jobs:
run: |
set -e
echo "Packing with version=${{ steps.tag_version.outputs.version }}"
- dotnet pack -c Release -o ./packages -p:PackageVersion=${{ steps.tag_version.outputs.version }}
+ dotnet pack -c Release -o ./packages -p:PackageVersion=${{ steps.tag_version.outputs.version }} -p:IncludeSymbols=false
- name: Show packages
run: ls -la ./packages || true
diff --git a/GFramework.csproj b/GFramework.csproj
index d06260d..3c6c5ff 100644
--- a/GFramework.csproj
+++ b/GFramework.csproj
@@ -16,8 +16,7 @@
true
true
portable
- true
- snupkg
+ false
GFramework
README.md
net9.0;net8.0