Skip to content

Commit 9118a43

Browse files
authored
ci: Install GEOS as dev dependency in publish script (#1429)
1 parent 44be55b commit 9118a43

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/rust-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ jobs:
1212
id-token: write # Required for OIDC token exchange
1313
steps:
1414
- uses: actions/checkout@v6
15+
with:
16+
submodules: "recursive"
17+
- name: Install Rust
18+
uses: dtolnay/rust-toolchain@stable
19+
- uses: Swatinem/rust-cache@v2
20+
- uses: prefix-dev/setup-pixi@v0.8.1
21+
with:
22+
activate-environment: true
23+
cache: true
24+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
25+
manifest-path: build/pixi.toml
26+
- name: Tweak environment to find GDAL
27+
run: |
28+
echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV"
29+
echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV"
1530
- uses: rust-lang/crates-io-auth-action@v1
1631
id: auth
1732
- run: cargo publish

0 commit comments

Comments
 (0)