From bd123cadafced8c5191081d9d7de4d7778d82ecb Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 9 Apr 2021 10:39:45 -0700 Subject: [PATCH] GitLab CI: Conditionally create C:\Development on Windows. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfaa2b2737..b279103db9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,7 +83,7 @@ variables: .build-windows: stage: build before_script: - - mkdir c:\Development + - if (-Not (Test-Path C:\Development)) { New-Item -Path C:\Development -ItemType "directory" } - $env:WIRESHARK_BASE_DIR = "C:\Development" - $env:Configuration = "RelWithDebInfo" - $env:Path += ";C:\Program Files\CMake\bin"