Skip to content

Commit 286b9cb

Browse files
committed
.github/workflows/recorder-release.yml: more fixes
Signed-off-by: Tzanko Matev <[email protected]>
1 parent b889599 commit 286b9cb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/recorder-release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
echo "package_version=${VERSION}" >> "$GITHUB_OUTPUT"
9898
- name: Assert tag matches version
9999
if: startsWith(github.ref, 'refs/tags/')
100+
shell: bash
100101
run: |
101102
TAG="${GITHUB_REF##*/}"
102103
EXPECTED="recorder-v${{ steps.version.outputs.package_version }}"
@@ -169,11 +170,18 @@ jobs:
169170

170171
- name: Install maturin (macOS)
171172
if: startsWith(matrix.name, 'macos')
172-
run: python3 -m pip install --upgrade pip maturin>=1.5,<2
173+
shell: bash
174+
run: |
175+
PYTHON=$(python3 -c "import sys; print(sys.executable)")
176+
"$PYTHON" -m pip install --upgrade pip
177+
"$PYTHON" -m pip install "maturin>=1.5,<2"
173178
174179
- name: Install maturin (Windows)
175180
if: matrix.name == 'windows-amd64'
176-
run: python -m pip install --upgrade pip maturin>=1.5,<2
181+
shell: pwsh
182+
run: |
183+
& "$env:PYTHON" -m pip install --upgrade pip
184+
& "$env:PYTHON" -m pip install "maturin>=1.5,<2"
177185
178186
- name: Build artefacts (macOS universal2)
179187
if: startsWith(matrix.name, 'macos')

0 commit comments

Comments
 (0)