删除不需要的配置msbuild代码 #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build WPF | |
on: [push] | |
jobs: | |
BuildDebug: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - name: Setup .NET | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# global-json-file: global.json | |
# cache: true | |
# - name: Setup MSBuild.exe | |
# uses: warrenbuckley/Setup-MSBuild@v1 | |
- name: Build WPF | |
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86 | |
- name: Push | |
uses: actions/upload-artifact@v1 | |
with: | |
name: WPF_Debug | |
path: ./artifacts/packages/Debug/NonShipping | |
# BuildRelease: | |
# 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: Push | |
# uses: actions/upload-artifact@v1 | |
# with: | |
# name: WPF_Release | |
# path: ./artifacts/packages/Release/NonShipping |