-
Notifications
You must be signed in to change notification settings - Fork 79
66 lines (63 loc) · 2.09 KB
/
demos.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Demos
on: [push, pull_request]
env:
Configuration: Release
ContinuousIntegrationBuild: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: windows-latest
name: Build demo projects
steps:
- name: Checkout git repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Create local NuGet source
run: |
mkdir ..\LocalPackages
$pkgdir = Resolve-Path ..\LocalPackages
dotnet nuget add source $pkgdir --name Local
- name: Restore NuGet packages
run: dotnet restore --verbosity normal
- name: Build library package
run: dotnet pack --configuration Release --no-restore --verbosity normal
- name: Install library package
run: |
$pkg = Resolve-Path QrCodeGenerator\bin\Release\Net.Codecrete.QrCodeGenerator.*.nupkg
nuget push $pkg -Source Local
- name: Build Demo-ImageSharp
run: dotnet build
working-directory: Demo-ImageSharp
- name: Build Demo-ASP.NET-Core
run: dotnet build
working-directory: Demo-ASP.NET-Core
- name: Build Demo-ImageMagick
run: dotnet build
working-directory: Demo-ImageMagick
- name: Build Demo-QRCode-Variety
run: dotnet build
working-directory: Demo-QRCode-Variety
- name: Build Demo-SkiaSharp
run: dotnet build
working-directory: Demo-SkiaSharp
- name: Build Demo-System-Drawing
run: dotnet build
working-directory: Demo-System-Drawing
- name: Build Demo-VCard
run: dotnet build
working-directory: Demo-VCard
- name: Build Demo-WindowsPresentationFoundation
run: dotnet build
working-directory: Demo-WindowsPresentationFoundation
- name: Build Demo-WinForms
run: dotnet build
working-directory: Demo-WinForms
- name: Build Demo-WinUI
run: dotnet build
working-directory: Demo-WinUI