-
Notifications
You must be signed in to change notification settings - Fork 1
67 lines (53 loc) · 1.59 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Build Installer
on: push
jobs:
build-linux:
name: Build for Linux
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
- name: Restore dependencies
run: dotnet restore
- name: Restore dependencies
run: dotnet build
build-macos:
name: Build for MacOs
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
- name: Restore dependencies
run: dotnet restore
- name: Restore dependencies
run: dotnet build
build-windows:
name: Build for windows with the Inno Setup Installer
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: dotnet publish -c Release -p:PublishProfile=FolderProfile.pubxml ImgTagFanOut\ImgTagFanOut.csproj
- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/[email protected]
with:
path: setupScript.iss
options: /O+
- uses: actions/upload-artifact@v3
with:
path: InstallerOutput/ImgTagFanOut-installer.exe