Skip to content

Commit 21368dc

Browse files
committed
Redefine GEOS_DIR in new workflow using pwd command
1 parent 28c88a8 commit 21368dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
# LD_LIBRARY_PATH in environment is needed by auditwheel.
6060
environment: >-
6161
GEOS_VERSION="3.6.5"
62-
GEOS_DIR="/project/packages/basemap/extern"
63-
LD_LIBRARY_PATH="/project/packages/basemap/extern/lib"
62+
GEOS_DIR="$(pwd)/extern"
63+
LD_LIBRARY_PATH="${GEOS_DIR}/lib"
6464
PIP_PREFER_BINARY=1
6565
PYTHONUNBUFFERED=1
6666
- os: windows-latest
@@ -71,7 +71,7 @@ jobs:
7171
python -c "import utils; utils.GeosLibrary('%GEOS_VERSION%').build('%GEOS_DIR%', njobs=2)"
7272
environment: >-
7373
GEOS_VERSION="3.6.5"
74-
GEOS_DIR="D:/a/basemap/basemap/packages/basemap/extern"
74+
GEOS_DIR="$(pwd)/extern"
7575
PIP_PREFER_BINARY=1
7676
PYTHONUNBUFFERED=1
7777
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)