Skip to content

Commit 5ce7a90

Browse files
authored
Check for build directory existence before creation
1 parent 992a3e5 commit 5ce7a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Build (Windows)
101101
if: runner.os == 'Windows'
102102
run: |
103-
mkdir build
103+
if (-Not (Test-Path build)) { New-Item -ItemType Directory -Path build }
104104
cd build
105105
$pybind11_dir = python -m pybind11 --cmakedir
106106
cmake -DCMAKE_BUILD_TYPE=Release -DEigen3_DIR=$env:EIGEN3_INCLUDE_DIR -DCMAKE_PREFIX_PATH="$pybind11_dir" ..

0 commit comments

Comments
 (0)