diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-28 13:18:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-28 13:18:06 -0400 |
| commit | 379d4b5e6a210ea5065543845a45655bd104596b (patch) | |
| tree | 2281a214ece00269b0c9a29f12e7a0aeb6112e21 /.ci/scripts | |
| parent | bf3f4502114fb8f05531608b519d3c4e83a1e9a2 (diff) | |
| parent | 7325fb054dda17fb56f4485806af3fa06a16c9a5 (diff) | |
Merge pull request #10280 from danilaml/cmake-bin-dir
Use TARGET_FILE_DIR generator expression
Diffstat (limited to '.ci/scripts')
| -rw-r--r-- | .ci/scripts/windows/upload.ps1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index 21abcd752..492763420 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 @@ -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 |
