forked from dotnet/wpf
-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (38 loc) · 1.1 KB
/
Build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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