From dda6bf1002ae0a9334a0afa558a35c4537a719d0 Mon Sep 17 00:00:00 2001 From: Dave Friedel Date: Sun, 4 Jan 2026 10:29:56 -0500 Subject: [PATCH] Try cmd shell with working-directory for ISCC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/release.yaml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 330ac4d..8e0fc8d 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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