-
Notifications
You must be signed in to change notification settings - Fork 35
40 lines (29 loc) · 957 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
name: Build DLL/PLGX
on: [push, pull_request]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install prerequisites
run: |
choco install keepass.install --version=2.50
nuget restore
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Build DLL
run: msbuild /property:Configuration=ReleaseDll /t:build KeeAgent.sln
- uses: actions/upload-artifact@v4
with:
name: KeeAgent.dll
path: KeeAgent/bin/ReleaseDll/KeeAgent.dll
- name: Build PLGX
run: msbuild /property:Configuration=ReleasePlgx /t:build KeeAgent.sln
- name: List PLGX
run: ~\.nuget\packages\plgxtool\1.0.3\tools\PlgxTool.exe -l .\KeeAgent\bin\ReleasePlgx\KeeAgent.plgx
- uses: actions/upload-artifact@v4
with:
name: KeeAgent.plgx
path: KeeAgent/bin/ReleasePlgx/KeeAgent.plgx