Skip to content

Commit

Permalink
ci(python): Fix release LTS CPU step (#13160)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego authored Dec 20, 2023
1 parent b443e31 commit 40d3e08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ jobs:
run: tomlq -i -t '.dependencies.polars.features += ["bigidx"]' py-polars/Cargo.toml
- name: Set _LTS_CPU variable
if: matrix.package == 'polars-lts-cpu'
run: sed -i 's/^_LTS_CPU = False$/_LTS_CPU = True/g' py-polars/polars/_cpu_check.py
env:
SED_OPTIONS: ${{ matrix.os == 'macos-latest' && '-i ''''' || '-i'}}
run: sed $SED_OPTIONS 's/^_LTS_CPU = False$/_LTS_CPU = True/g' py-polars/polars/_cpu_check.py

- name: Set RUSTFLAGS for x86-64
if: matrix.architecture == 'x86-64' && matrix.package != 'polars-lts-cpu' && matrix.os != 'macos-latest'
Expand Down

0 comments on commit 40d3e08

Please sign in to comment.