ci: 优化自动构建 [skip cliff]

This commit is contained in:
denglihong2007
2025-12-13 23:56:26 +08:00
parent 301c7c0c52
commit ebb86a9979

View File

@@ -76,11 +76,6 @@ jobs:
run: |
dotnet nuget add source --username denglihong2007 --password $env:GHPKG_KEY --store-password-in-clear-text --name github "https://nuget.pkg.github.com/denglihong2007/index.json"
- name: Restore and Build
run: |
dotnet restore CRSim.sln
dotnet build CRSim.sln --configuration Release --no-restore --runtime win-x64
- name: Generate changelog
uses: orhun/git-cliff-action@v4
with:
@@ -92,9 +87,9 @@ jobs:
- name: Publish
run: |
dotnet restore CRSim.sln
dotnet publish -c Release -p:PublishProfile=win-x64.pubxml -o out
- name: Create Zip Package
shell: pwsh
run: |