Skip to content

Commit 18fe4c4

Browse files
committed
Rewrite before_all block in Windows workflow as a one-liner
1 parent 220cdc1 commit 18fe4c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
PIP_PREFER_BINARY=1
6363
PYTHONUNBUFFERED=1
6464
- os: windows-latest
65-
before_all: |
66-
echo Starting BEFORE_ALL script
67-
echo GEOS_DIR set to: %GEOS_DIR%
68-
cd "{package}"
65+
before_all: >-
66+
echo Starting BEFORE_ALL script &&
67+
echo GEOS_DIR set to: %GEOS_DIR% &&
68+
cd "{package}" &&
6969
python -c "import utils; utils.GeosLibrary('%GEOS_VERSION%').build('%GEOS_DIR%', njobs=2)"
7070
environment: >-
7171
GEOS_VERSION="3.6.5"

0 commit comments

Comments
 (0)