Skip to content

sharplier

sharplier #297

Workflow file for this run

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