Skip to content

Commit

Permalink
尝试打出调试包
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Oct 21, 2023
1 parent 5809d57 commit 7d0a27c
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,32 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
dotnet-quality: 'preview'
global-json-file: global.json
cache: true
- name: Build WPF
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86
- name: Build CustomWPF
run: dotnet build CustomWpf
- name: Push
uses: actions/upload-artifact@v1
with:
name: WPF_Debug
path: ./artifacts/packages/Debug/NonShipping

BuildRelease:
# BuildRelease:

runs-on: windows-latest
# runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
dotnet-quality: 'preview'
- name: Build WPF
run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
- name: Build CustomWPF
run: dotnet build CustomWpf -c Release
- name: Push
uses: actions/upload-artifact@v1
with:
name: WPF_Release
path: ./artifacts/packages/Release/NonShipping
# steps:
# - uses: actions/checkout@v3
# - name: Setup .NET
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: |
# 8.0.x
# dotnet-quality: 'preview'
# - name: Build WPF
# run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
# - name: Push
# uses: actions/upload-artifact@v1
# with:
# name: WPF_Release
# path: ./artifacts/packages/Release/NonShipping

0 comments on commit 7d0a27c

Please sign in to comment.