Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a33430faa0 | |||
| 401d717adf | |||
| cfac39a838 |
@@ -45,9 +45,21 @@ jobs:
|
||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||
|
||||
- name: Build Installer
|
||||
shell: cmd
|
||||
shell: powershell
|
||||
run: |
|
||||
cd DellMonitorControl && "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss
|
||||
Write-Host "Current directory: $(Get-Location)"
|
||||
Push-Location DellMonitorControl
|
||||
Write-Host "Changed to: $(Get-Location)"
|
||||
Write-Host "Creating installer output directory..."
|
||||
New-Item -ItemType Directory -Force -Path "installer" | Out-Null
|
||||
Write-Host "Checking source files exist..."
|
||||
Get-ChildItem "bin\Release\net9.0-windows" | Select-Object -First 5
|
||||
Write-Host "Running Inno Setup..."
|
||||
$process = Start-Process -FilePath "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" -ArgumentList "MonitorControl.iss" -Wait -NoNewWindow -PassThru
|
||||
Write-Host "ISCC exit code: $($process.ExitCode)"
|
||||
Write-Host "Listing installer directory:"
|
||||
Get-ChildItem "installer"
|
||||
Pop-Location
|
||||
|
||||
- name: Create Release
|
||||
shell: powershell
|
||||
|
||||
Reference in New Issue
Block a user