From 8e179a027f5864a1f201a2ddb8ec230ff165b019 Mon Sep 17 00:00:00 2001 From: tcevaer Date: Mon, 30 Oct 2023 10:38:59 +0100 Subject: [PATCH] Try a fix in publish.yml --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e3cd79..a4259cb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.x' + - name: Install system packages + run: sudo apt-get install -y libgdal-dev + - name: Setup Environment Variables + run: echo "GDAL_CONFIG=/usr/bin/gdal-config" >> $GITHUB_ENV - name: Install dependencies run: | python -m pip install --upgrade pip build twine + pip install GDAL==`gdal-config --version` - name: Build run: | python -m build --sdist --wheel .