-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (29 loc) · 947 Bytes
/
ci.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: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: setup NuGet
uses: nuget/setup-nuget@v1
- name: restore packages
run: nuget restore MBRC.sln -OutputDirectory packages -NonInteractive
- name: build
run: msbuild MBRC.sln /p:Configuration="Release" /m /v:M /fl /nr:false
- name: copy to dist
run: |
mkdir -p build/dist
cp build/bin/plugin/Release/mb_remote.dll build/dist
cp build/bin/firewall-utility/Release/firewall-utility.exe build/dist
cp LICENSE build/dist
- uses: actions/upload-artifact@v3
with:
name: mbrc-plugin-dev
path: build/dist