We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 034182f commit 8a4c0b6Copy full SHA for 8a4c0b6
1 file changed
.github/workflows/windows-build.yml
@@ -58,7 +58,16 @@ jobs:
58
$runDir = "$env:GITHUB_WORKSPACE\Run"
59
$dataDir = "$runDir"
60
$testsDir = "$runDir\Tests"
61
+ $buildExe = "$env:GITHUB_WORKSPACE\Projects\VS\${{ matrix.configuration }}\openfodder.exe"
62
+ $buildDir = "$env:GITHUB_WORKSPACE\Projects\VS\${{ matrix.configuration }}"
63
New-Item -ItemType Directory -Path $runDir -Force | Out-Null
64
+ if (-not (Test-Path $buildExe)) {
65
+ Write-Error "Built executable not found at $buildExe"
66
+ exit 1
67
+ }
68
+ Copy-Item $buildExe -Destination "$runDir\openfodder.exe" -Force
69
+ Copy-Item "$buildDir\SDL3.dll" -Destination $runDir -Force
70
+ Copy-Item "$buildDir\SDL3_mixer.dll" -Destination $runDir -Force
71
if (Test-Path "$dataDir\.git") {
72
git -C $dataDir pull
73
} else {
0 commit comments