-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (45 loc) · 1.05 KB
/
ci.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
name: Build
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: windows-latest
permissions:
packages: read
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Build
run: |
msbuild -t:restore -property:Configuration=${{ matrix.configuration }}
msbuild -t:build -property:Configuration=${{ matrix.configuration }}
- name: Upload license
uses: actions/upload-artifact@v3
with:
name: MEME
path: LICENSE
if-no-files-found: error
- name: Upload application
uses: actions/upload-artifact@v3
with:
name: MEME
path: src/GUI/bin/${{ matrix.configuration }}/net6.0/**
if-no-files-found: error