Skip to content

尝试自动构建

尝试自动构建 #99

Workflow file for this run

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:
dotnet-version: |
8.0.x
dotnet-quality: 'preview'
- 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:
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