1
0
Fork 0
forked from suyu/suyu

Fixup upload.ps1 for GHA

No extra folders are created with ninja generator after previous CMake fixes.
This commit is contained in:
Danila Malyutin 2023-05-14 01:23:07 +03:00 committed by GitHub
parent c9c5d140b8
commit 7325fb054d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,11 @@ $env:BUILD_ZIP = $MSVC_BUILD_ZIP
$env:BUILD_SYMBOLS = $MSVC_BUILD_PDB
$env:BUILD_UPDATE = $MSVC_SEVENZIP
$BUILD_DIR = ".\build\bin\Release"
if (Test-Path -Path ".\build\bin\Release") {
$BUILD_DIR = ".\build\bin\Release"
} else {
$BUILD_DIR = ".\build\bin\"
}
# Cleanup unneeded data in submodules
git submodule foreach git clean -fxd