Try cmd shell with working-directory for ISCC
All checks were successful
Build and Release / build (push) Successful in 9h0m11s
All checks were successful
Build and Release / build (push) Successful in 9h0m11s
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,21 +45,25 @@ jobs:
|
||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||
|
||||
- name: Build Installer
|
||||
shell: powershell
|
||||
shell: cmd
|
||||
working-directory: DellMonitorControl
|
||||
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 with verbose output..."
|
||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /V9 "MonitorControl.iss" 2>&1
|
||||
Write-Host "ISCC exit code: $LASTEXITCODE"
|
||||
Write-Host "Listing installer directory:"
|
||||
Get-ChildItem "installer"
|
||||
Pop-Location
|
||||
echo Current directory:
|
||||
cd
|
||||
echo.
|
||||
echo ISS file exists:
|
||||
if exist MonitorControl.iss (echo YES) else (echo NO)
|
||||
echo.
|
||||
echo Creating installer directory...
|
||||
mkdir installer 2>nul
|
||||
echo.
|
||||
echo Running Inno Setup...
|
||||
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss
|
||||
echo.
|
||||
echo ISCC exit code: %ERRORLEVEL%
|
||||
echo.
|
||||
echo Installer directory contents:
|
||||
dir installer
|
||||
|
||||
- name: Create Release
|
||||
shell: powershell
|
||||
|
||||
Reference in New Issue
Block a user