Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 401d717adf | |||
| cfac39a838 | |||
| a408b0fd27 | |||
| 4aba0049f5 |
@@ -30,11 +30,30 @@ 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
|
||||
working-directory: DellMonitorControl
|
||||
run: |
|
||||
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" 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)"
|
||||
Write-Host "Creating installer output directory..."
|
||||
New-Item -ItemType Directory -Force -Path "DellMonitorControl\installer"
|
||||
Write-Host "Running Inno Setup..."
|
||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /O"DellMonitorControl\installer" "DellMonitorControl\MonitorControl.iss"
|
||||
Write-Host "Listing installer directory:"
|
||||
Get-ChildItem "DellMonitorControl\installer"
|
||||
|
||||
- name: Create Release
|
||||
shell: powershell
|
||||
|
||||
Reference in New Issue
Block a user