Skip to content

Commit d342489

Browse files
committed
Implement workaround for python 3.11 issue
1 parent 7ef65d8 commit d342489

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ jobs:
8181
brew install libtiff open-mpi libyaml ccache
8282
echo "CMAKE_PREFIX_PATH=/usr/local/opt/libomp" >> $GITHUB_ENV
8383
84+
- name: Select Python 3.10
85+
# otherwise turtlebrowser/get-conan@v1.1 fails on macos-12
86+
# ref: https://github.com/turtlebrowser/get-conan/issues/4
87+
uses: actions/setup-python@v4
88+
with:
89+
python-version: '3.10'
90+
8491
- name: Install Conan
8592
id: conan
8693
uses: turtlebrowser/get-conan@main

0 commit comments

Comments
 (0)