Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a33430faa0 | |||
| 401d717adf | |||
| cfac39a838 | |||
| a408b0fd27 | |||
| 4aba0049f5 | |||
| 7ad87a1398 |
@@ -30,10 +30,36 @@ jobs:
|
||||
$issPath = "DellMonitorControl/MonitorControl.iss"
|
||||
(Get-Content $issPath) -replace '#define MyAppVersion ".*"', "#define MyAppVersion `"$version`"" | Set-Content $issPath
|
||||
|
||||
- name: Build Installer
|
||||
- name: List build output
|
||||
shell: cmd
|
||||
run: |
|
||||
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" DellMonitorControl\MonitorControl.iss
|
||||
echo "Current directory:"
|
||||
cd
|
||||
echo "DellMonitorControl contents:"
|
||||
dir DellMonitorControl
|
||||
echo "DellMonitorControl\bin contents:"
|
||||
dir DellMonitorControl\bin
|
||||
echo "DellMonitorControl\bin\Release contents:"
|
||||
dir DellMonitorControl\bin\Release
|
||||
echo "DellMonitorControl\bin\Release\net9.0-windows contents:"
|
||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||
|
||||
- name: Build Installer
|
||||
shell: powershell
|
||||
run: |
|
||||
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