Skip to content

Commit 804ab3b

Browse files
committed
try workaround for action runner issue on python 3.10
1 parent ddcb594 commit 804ab3b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/install_dependencies.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ sudo apt-get install -y --no-install-recommends ${other_pkgs} ${python3_pkgs}
1010
sudo pip3 install colcon-common-extensions xmlrunner pygccxml pyplusplus
1111

1212
if [ `lsb_release -a | grep Release | grep 22.04 | wc -l` == 1 ]; then
13-
TMPFILE=$(mktemp)
14-
echo "deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ jammy main" > ${TMPFILE}
15-
sudo mv ${TMPFILE} /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-jammy.list
13+
sudo add-apt-repository ppa:deadsnakes/ppa
1614
sudo apt-get update
1715
sudo apt-get install -y libpython3.8-dev python3.8
1816
sudo python3.8 -m ensurepip --upgrade

.github/workflows/wheels.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
include:
20-
- python3.8
21-
PYTHON_BINDING_VERSION: "3.8"
22-
- python3.10
23-
PYTHON_BINDING_VERSION: "3.10"
20+
- python: v3.8
21+
PYTHON_BINDING_VERSION: "3.8"
22+
- python: v3.10
23+
PYTHON_BINDING_VERSION: "3.10"
2424
env:
2525
WHEEL_PLATFORM: manylinux_2_28_x86_64
2626
PYTHON_BINDING_VERSION: ${{ matrix.PYTHON_BINDING_VERSION }}

0 commit comments

Comments
 (0)