Update to v4 just to get rid of issues #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Installer | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build the Inno Setup Installer | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare for testing (x64 only) | |
run: | | |
if (Test-Path -Path .\testing) { | |
Copy-Item -Path .\testing\* -Destination .\input -Recurse -Force | |
} else { | |
Write-Error "The 'testing' directory does not exist." | |
} | |
shell: pwsh | |
- name: Compile Installer | |
uses: Minionguyjpro/[email protected] | |
with: | |
path: Setup.iss | |
options: /O+ | |
- name: Upload installer artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: installer | |
path: output/*.exe | |
if-no-files-found: error |