-
-
Notifications
You must be signed in to change notification settings - Fork 52
40 lines (32 loc) · 1.23 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
name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build and pack
continue-on-error: true
run: |
dotnet build .\source\iNKORE.UI.WPF.Modern
dotnet publish .\source\iNKORE.UI.WPF.Modern.Gallery -r win-x64 -f net6.0-windows10.0.18362.0 --no-self-contained -p:PublishSingleFile=true -p:IncludeContentInSingleFile=true
# dotnet pack .\source\iNKORE.UI.WPF.Modern.Controls --configuration Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
- name: Upload binary libraries of iNKORE.UI.WPF.Modern.Controls
uses: actions/upload-artifact@v3
with:
name: iNKORE.UI.WPF.Modern.Controls dlls
path: .\source\iNKORE.UI.WPF.Modern.Controls\bin\Debug
- name: Upload Gallery apps
uses: actions/upload-artifact@v3
with:
name: iNKORE.UI.WPF.Modern.Gallery
path: .\source\iNKORE.UI.WPF.Modern.Gallery\bin\Debug\net6.0-windows10.0.18362.0\win-x64\publish