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 .