mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
build(publish): 禁用符号包生成以优化发布流程
- 在 GitHub Actions 工作流中禁用符号包生成 - 更新项目文件配置,移除符号包相关设置 - 简化打包命令参数,提高构建效率
This commit is contained in:
parent
fdc51e23b7
commit
7a34282205
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
||||
@ -16,8 +16,7 @@
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<DebugType>portable</DebugType>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<IncludeSymbols>false</IncludeSymbols>
|
||||
<RootNamespace>GFramework</RootNamespace>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user