-
Notifications
You must be signed in to change notification settings - Fork 31
47 lines (35 loc) · 1022 Bytes
/
winbuild.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
46
47
# This continuous integration pipeline is triggered anytime a user pushes code to the repo.
# This pipeline builds the Wpf project, runs unit tests, then saves the MSIX build artifact.
name: Windows CI
# Trigger on every master branch push and pull request
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
strategy:
matrix:
targetplatform: [x64]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- uses: actions/setup-python@v2
with:
python-version: '3.10'
# Build the Windows Application Packaging project
- name: Build a Windows App
shell: cmd
run: .\winbuild.bat
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: MSI Package
path: dist