Skip to content

Commit 57e0c40

Browse files
committed
Edit before_all block in Windows workflow to use pwsh commands directly
1 parent 8e85717 commit 57e0c40

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@ jobs:
6363
PYTHONUNBUFFERED=1
6464
- os: windows-latest
6565
before_all: >-
66-
pwsh -Command "
67-
Write-Host 'Starting BEFORE_ALL script';
68-
Set-Location '{package}';
69-
python -c 'import utils; utils.GeosLibrary(\"${env:GEOS_VERSION}\").build(\"${env:GEOS_DIR}\", njobs=2)'
70-
"
66+
Write-Host "Starting BEFORE_ALL script"
67+
Write-Host "GEOS_DIR set to: ${env:GEOS_DIR}"
68+
Set-Location "{package}"
69+
python -c "import utils; utils.GeosLibrary('${env:GEOS_VERSION}').build('${env:GEOS_DIR}', njobs=2)"
7170
environment: >-
7271
GEOS_VERSION="3.6.5"
7372
GEOS_DIR="D:/a/basemap/basemap/packages/basemap/extern"

0 commit comments

Comments
 (0)