about summary refs log tree commit diff
path: root/src/ci/scripts
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-07-06 15:12:27 +0200
committerPietro Albini <pietro@pietroalbini.org>2020-07-23 11:29:47 +0200
commitcb76f821942053091706b7bb2c4dc416bb09bfb9 (patch)
treeb29f8d96d79edb8d83e18b7df72f9c3e3df508df /src/ci/scripts
parent4825e12fc9c79954aa0fe18f5521efa6c19c7539 (diff)
downloadrust-cb76f821942053091706b7bb2c4dc416bb09bfb9.tar.gz
rust-cb76f821942053091706b7bb2c4dc416bb09bfb9.zip
ci: avoid symlinking the build directory on self-hosted builders
Diffstat (limited to 'src/ci/scripts')
-rwxr-xr-xsrc/ci/scripts/symlink-build-dir.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/scripts/symlink-build-dir.sh b/src/ci/scripts/symlink-build-dir.sh
index 50178b9c33e..28d8aa3b6e7 100755
--- a/src/ci/scripts/symlink-build-dir.sh
+++ b/src/ci/scripts/symlink-build-dir.sh
@@ -12,7 +12,7 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
 if isWindows && isAzurePipelines; then
     cmd //c "mkdir c:\\MORE_SPACE"
     cmd //c "mklink /J build c:\\MORE_SPACE"
-elif isLinux && isGitHubActions; then
+elif isLinux && isGitHubActions && ! isSelfHostedGitHubActions; then
     sudo mkdir -p /mnt/more-space
     sudo chown -R "$(whoami):" /mnt/more-space