Skip to content

Commit 9e0d7fd

Browse files
committed
attempt to fix conan installation on macos
1 parent 2fd0299 commit 9e0d7fd

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,13 @@ jobs:
337337
brew update
338338
brew install ninja cmake
339339
340-
python3 -m pip install --upgrade pip
341-
python3 -m pip install conan
340+
python3 -m venv "$RUNNER_TEMP/conan-venv"
341+
source "$RUNNER_TEMP/conan-venv/bin/activate"
342+
343+
python -m pip install --upgrade pip
344+
python -m pip install conan
345+
346+
echo "$RUNNER_TEMP/conan-venv/bin" >> "$GITHUB_PATH"
342347
343348
conan --version
344349
cmake --version
@@ -383,7 +388,7 @@ jobs:
383388
shell: bash
384389
run: |
385390
version="${{ steps.vars.outputs.build_version }}"
386-
artifact_name="open.mp-macos-arm-${{ matrix.arch }}${{ matrix.ssl == 'dynamic' && '-dynssl' || '' }}-${version}"
391+
artifact_name="open.mp-macos-arm-${{ matrix.ssl == 'dynamic' && '-dynssl' || '' }}-${version}"
387392
388393
echo "artifact_name=${artifact_name}" >> "$GITHUB_OUTPUT"
389394

0 commit comments

Comments
 (0)