-
-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (40 loc) · 1.23 KB
/
Windows-GUI.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
50
51
52
53
name: Windows GUI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore dependencies
run: nuget restore CheckIP.Windows\CheckIP.sln
- name: Build (x86)
run: msbuild.exe CheckIP.Windows\CheckIP.sln /p:platform="x86" /p:configuration="Release"
- name: Build (x64)
run: msbuild.exe CheckIP.Windows\CheckIP.sln /p:platform="x64" /p:configuration="Release"
- name: Create Setup file (x86)
run: |
"%programfiles(x86)%\\Inno Setup 6\\iscc.exe" "CheckIP.Windows\Setup\ISS\x86.iss"
shell: cmd
- name: Create Setup file (x64)
run: |
"%programfiles(x86)%\\Inno Setup 6\\iscc.exe" "CheckIP.Windows\Setup\ISS\x64.iss"
shell: cmd
- name: Upload setup artifacts
uses: actions/upload-artifact@v3
with:
name: CheckIP binaries
path: CheckIP.Windows\Setup\*