Skip to content

Create Installer

Create Installer #6

Workflow file for this run

name: Create Installer
on:
workflow_dispatch:
inputs:
version:
description: 'Version number that will appear in the exe name'
required: true
type: string
branch:
description: 'the branch used to create the installer'
required: true
type: string
jobs:
create-installer:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: publish
run: dotnet publish -p:PublishProfile=FolderProfile.pubxml
- name: package
run: iscc Deployment/install.iss
- name: Upload installer
uses: actions/upload-artifact@v3
with:
name: COMPASS_Installer
path: Deployment\Versions\COMPASS_Setup_${{ inputs.version }}.exe