Skip to content

Commit b0fe1d4

Browse files
committed
define bash for win
1 parent 6ca8fbc commit b0fe1d4

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/build-macos-ft.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uv python install 3.14t
4444
4545
- name: Build wheels
46+
shell: bash
4647
run: |
4748
# Patch all Cargo.toml files to remove abi3 feature safely
4849
# We use a broad replacement to ensure no abi3 remains
@@ -79,21 +80,23 @@ jobs:
7980
echo "Using interpreters: $PY313T and $PY314T"
8081
8182
# Build 3.13t
82-
uv run --with maturin maturin build -m py-polars/runtime/polars-runtime-32/Cargo.toml --release --compatibility pypi --interpreter $PY313T
83+
uv run --with maturin maturin build -m py-polars/runtime/polars-runtime-32/Cargo.toml --release --compatibility pypi --interpreter "$PY313T"
8384
8485
# Build 3.14t
85-
uv run --with maturin maturin build -m py-polars/runtime/polars-runtime-32/Cargo.toml --release --compatibility pypi --interpreter $PY314T
86+
uv run --with maturin maturin build -m py-polars/runtime/polars-runtime-32/Cargo.toml --release --compatibility pypi --interpreter "$PY314T"
8687
8788
- name: Build Polars wrapper package
89+
shell: bash
8890
run: |
8991
cd py-polars
9092
uv build
9193
cp dist/*.whl ../target/wheels/
9294
9395
- name: Extract version
9496
id: extract_version
97+
shell: bash
9598
run: |
96-
VERSION=$(grep '^version =' py-polars/runtime/polars-runtime-32/Cargo.toml | head -n 1 | cut -d '"' -f 2)
99+
VERSION=$(grep "^version =" py-polars/runtime/polars-runtime-32/Cargo.toml | head -n 1 | cut -d '\"' -f 2)
97100
echo "version=$VERSION" >> $GITHUB_OUTPUT
98101
99102
- name: Upload wheels to artifact
@@ -103,18 +106,18 @@ jobs:
103106
path: target/wheels/*.whl
104107

105108
release:
106-
name: Create GitHub Release
109+
name: Create Release
107110
needs: build-wheels
108111
runs-on: ubuntu-latest
109-
permissions:
110-
contents: write
111112
steps:
113+
- uses: actions/checkout@v4
114+
112115
- name: Download all wheels
113116
uses: actions/download-artifact@v4
114117
with:
115118
path: wheels
116119
merge-multiple: true
117-
120+
118121
- name: Create or Update Release
119122
uses: softprop/action-gh-release@v2
120123
with:

0 commit comments

Comments
 (0)