Skip to content

Commit c2ed0ff

Browse files
committed
Fix environment variable
1 parent aac0888 commit c2ed0ff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,15 @@ jobs:
204204
$content = $content -replace '^description = ".*"', 'description = "${{ matrix.features.package_description }}"'
205205
Set-Content -Path pyproject.toml -Value $content
206206
207+
- name: Set PYO3_CROSS_PYTHON_VERSION
208+
if: contains(matrix.platform.target, 'aarch64')
209+
shell: bash
210+
run: echo "PYO3_CROSS_PYTHON_VERSION=3.10" >> $GITHUB_ENV
211+
207212
- name: Build wheels
208213
uses: PyO3/maturin-action@v1
209214
env:
210215
NODE_OPTIONS: "--max-old-space-size=8192"
211-
PYO3_CROSS_PYTHON_VERSION: ${{ contains(matrix.platform.target, 'aarch64') && '3.10' || '' }}
212216
with:
213217
target: ${{ matrix.platform.target }}
214218
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}

0 commit comments

Comments
 (0)