-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (38 loc) · 983 Bytes
/
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
46
47
48
49
name: Build and Test
on:
push:
branches: [ "master" ]
paths-ignore:
- 'www/**'
pull_request:
branches: [ "master" ]
paths-ignore:
- 'www/**'
jobs:
build:
strategy:
matrix:
arch: [x64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
- name: Build
run: dotnet build Installer --arch ${{ matrix.arch }} --configuration Release
- name: Test
run: dotnet test AOVpnManager.Tests
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: AOVpnManager-${{ matrix.arch }}
path: .\out\Release\Installer\en-US\AOVpnManager.msi
policy_templates:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Upload policy templates to artifact
uses: actions/upload-artifact@v3
with:
name: Policy Templates
path: .\PolicyTemplates