-
Notifications
You must be signed in to change notification settings - Fork 159
45 lines (37 loc) · 1.24 KB
/
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
name: Rectify11
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_run:
workflows: ["Submodules Sync"]
types:
- completed
jobs:
build:
runs-on: windows-latest
env:
NUGET_CERT_REVOCATION_MODE: offline
steps:
- name: Checkout
uses: actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
lfs: true
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet Packages
run: nuget restore Rectify11Installer.sln
- name: Build
run: msbuild Rectify11Installer.sln /p:Configuration=Release /p:platform=x64
- name: Create single exe
run: Rectify11Installer\ILRepack.exe Rectify11Installer\bin\Release\Rectify11Installer.exe /out:Rectify11Installer\bin\output\Release\Rectify11Installer.exe Rectify11Installer\bin\Release\libmsstyle.dll Rectify11Installer\bin\Release\TaskDialog.dll
- name: Upload Rectify11Installer
uses: actions/[email protected]
with:
name: Rectify11Installer (x64)
path: Rectify11Installer\bin\output\Release\Rectify11Installer.exe
compression-level: 0