mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
build: 移除构建中的符号包含选项
- 在 GitHub Actions 的 publish 工作流中移除了 `--include-symbols` 参数 - 在项目文件中显式设置 `<DebugType>` 为 portable - 确保生成的包不包含符号文件,减少包体积 - 保留了便携式调试信息以支持基本调试需求 - 更新了构建配置以匹配新的发布流程 - 验证了测试和发布步骤仍然正常运行
This commit is contained in:
parent
496137661d
commit
4a947a40b1
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build
|
||||
run: dotnet build -c Release --include-symbols --no-restore -p:DebugType=portable
|
||||
run: dotnet build -c Release --no-restore -p:DebugType=portable
|
||||
|
||||
- name: Test
|
||||
run: dotnet test --no-build -c Release --verbosity normal
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<DebugType>portable</DebugType>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<RootNamespace>GFramework</RootNamespace>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user