Skip to content

Commit 8557c03

Browse files
committed
install alternatives python3
1 parent a496a73 commit 8557c03

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/conan.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ jobs:
197197
sudo \
198198
wget
199199
200+
which python3
201+
202+
update-alternatives --install /usr/local/bin/python python /usr/bin/python3 100
203+
update-alternatives --config python
204+
205+
200206
- name: Update CMake for bullseye
201207
if: ${{ matrix.image == 'debian:bullseye' }}
202208
run: |
@@ -208,15 +214,12 @@ jobs:
208214
209215
apt-get -y --no-install-recommends install -t bullseye-backports cmake
210216
211-
- name: Setup python
212-
uses: actions/setup-python@v5
213-
214217
- name: Setup conan
215218
uses: conan-io/setup-conan@v1
216219
with:
217220
cache_packages: true
218221

219-
- name: Install conan in venv and create package
222+
- name: Create package
220223
shell: bash
221224
run: |
222225

0 commit comments

Comments
 (0)