Skip to content

Commit 561fc68

Browse files
committed
fix: export env var
1 parent 5c66a42 commit 561fc68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pypi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
4343
manylinux: ${{ matrix.platform.manylinux }}
4444
before-script-linux: |
45-
curl -L -O https://github.com/duckdb/duckdb/releases/download/v$DUCKDB_VERSION/libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip
45+
curl -L -O https://github.com/duckdb/duckdb/releases/download/v1.2.0/libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip
4646
unzip libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip -d /opt/duckdb
4747
export DUCKDB_LIB_DIR=/opt/duckdb
4848
- name: Upload wheels
@@ -71,13 +71,12 @@ jobs:
7171
unzip libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip -d /opt/duckdb
7272
- name: Build wheels
7373
uses: PyO3/maturin-action@v1
74-
env:
75-
DUCKDB_LIB_DIR: /opt/duckdb
7674
with:
7775
target: ${{ matrix.platform.target }}
7876
args: --release --out dist -i 3.10 --auditwheel repair
7977
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8078
manylinux: musllinux_1_2
79+
before-script-linux: export DUCKDB_LIB_DIR=/opt/duckdb
8180
- name: Upload wheels
8281
uses: actions/upload-artifact@v4
8382
with:

0 commit comments

Comments
 (0)