Skip to content

Commit eaa286c

Browse files
committed
Mark python so it isn't changed
1 parent d772f27 commit eaa286c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/actions/deps/ports/zephyr-cp/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ runs:
2626
echo "--- package repository versions ---"
2727
apt-cache policy
2828
sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config mtools
29-
# Remove system python3 to avoid conflict with python3:i386 which is
30-
# pulled in by libsdl2-dev:i386 -> libibus-1.0-dev:i386 -> libglib2.0-dev:i386.
31-
# We use the actions/setup-python version from /opt/hostedtoolcache instead.
32-
sudo apt-get remove -y python3 python3-minimal || true
29+
sudo apt-mark hold python3
3330
sudo apt-get install -y libsdl2-dev:i386 libsdl2-image-dev:i386
3431
echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" >> $GITHUB_ENV
3532
shell: bash

0 commit comments

Comments
 (0)