mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Remove useless dynamic build path detection
This commit is contained in:
18
.github/workflows/github.yml
vendored
18
.github/workflows/github.yml
vendored
@@ -295,24 +295,6 @@ jobs:
|
|||||||
echo "Waiting..."; counter=0; while pgrep XProtect && ((counter < 20)); do sleep 3; ((counter++)); done
|
echo "Waiting..."; counter=0; while pgrep XProtect && ((counter < 20)); do sleep 3; ((counter++)); done
|
||||||
pgrep XProtect || true
|
pgrep XProtect || true
|
||||||
|
|
||||||
- name: Locate compiled binaries dynamically
|
|
||||||
if: ${{ startsWith(matrix.platform, 'msvc') }}
|
|
||||||
id: locate-bin
|
|
||||||
run: |
|
|
||||||
$searchRoot = "$env:GITHUB_WORKSPACE\out\build\${{ matrix.preset }}"
|
|
||||||
Write-Host "Searching under: $searchRoot"
|
|
||||||
|
|
||||||
$vcmiClient = Get-ChildItem -Path $searchRoot -Recurse -Filter vcmi_client.exe -ErrorAction SilentlyContinue | Select-Object -First 1
|
|
||||||
if (-not $vcmiClient) {
|
|
||||||
Write-Host "ERROR: Could not locate vcmi_client.exe"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
$binPath = Split-Path $vcmiClient.FullName
|
|
||||||
Write-Host "Located bin directory: $binPath"
|
|
||||||
echo "bin_path=$binPath" >> $env:GITHUB_OUTPUT
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
- name: Install Inno Setup 6+
|
- name: Install Inno Setup 6+
|
||||||
if: ${{ startsWith(matrix.platform, 'msvc') }}
|
if: ${{ startsWith(matrix.platform, 'msvc') }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user