Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trueai-org authored Jun 20, 2024
1 parent 5a55fc6 commit 15ab55e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,18 @@ jobs:
run: dotnet restore src/MDriveSync.Client.API

- name: 列出目录内容 (调试步骤)
run: dir src/MDriveSync.Client.API/Properties/PublishProfiles
run: |
echo "PublishProfiles 目录内容:"
dir src/MDriveSync.Client.API/Properties/PublishProfiles
- name: 构建并发布 .NET 应用程序
run: dotnet publish src/MDriveSync.Client.API -c Release /p:PublishProfile=Client.Publish.SelfContained.win.x64.pubxml

- name: 列出发布目录内容 (调试步骤)
run: |
echo "发布目录内容:"
dir src/MDriveSync.Client.API/bin/Release/net8.0/publish
- name: 删除 PDB 和 XML 文件
run: |
# 删除目录中的 .pdb 和 .xml 文件(如果存在)
Expand Down

0 comments on commit 15ab55e

Please sign in to comment.