summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanila Malyutin <danilaml@users.noreply.github.com>2023-05-14 00:23:07 +0200
committerGitHub <noreply@github.com>2023-05-14 00:23:07 +0200
commit7325fb054dda17fb56f4485806af3fa06a16c9a5 (patch)
treef19995ce9819ff5b4d89f6412ce0c0e6dfd0bf0d
parentUse TARGET_FILE_DIR generator expression (diff)
downloadyuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar.gz
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar.bz2
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar.lz
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar.xz
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.tar.zst
yuzu-7325fb054dda17fb56f4485806af3fa06a16c9a5.zip
-rw-r--r--.ci/scripts/windows/upload.ps16
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