diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30c2bda..3eb8005 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,8 @@ jobs: - name: Publish run: | - dotnet publish -c Release -o out + dotnet publish -c Release -p:PublishProfile=win-x64.pubxml -o out + - name: Create Zip Package shell: pwsh diff --git a/CRSim/Properties/PublishProfiles/win-x64.pubxml b/CRSim/Properties/PublishProfiles/win-x64.pubxml new file mode 100644 index 0000000..c574ffc --- /dev/null +++ b/CRSim/Properties/PublishProfiles/win-x64.pubxml @@ -0,0 +1,16 @@ + + + + + FileSystem + x64 + win-x64 + bin\\publish\ + false + Release + net9.0-windows10.0.19041.0 + false + + \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 83ac5ba..cca125d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 3.0.0.0 + 3.0.1.0 电排骨 https://github.com/denglihong2007/CRSim