sudo apt-get update
sudo apt-get upgrade -y
# Temp!
- sudo apt-get install -y python3-dev
+ sudo apt-get install -y python3.8-dev
- name: Checkout sigrok-build
# Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified
# Temp!
sudo apt-get install -y libffi-dev
# Temp!
- sudo apt-get install -y python3-dev
+ sudo apt-get install -y python3.8-dev
- name: Checkout sigrok-build
# Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified
# Copy extra Python files
mkdir -p "$APP_DIR"/usr/share/pyshared
-# Find local python path of the latest version, e.g. /usr/lib/python3.12
-export LOCAL_PYTHON_PATH=`find /usr/lib -maxdepth 1 -iname "python3*" | sort -V | tail -n 1`
-cp -r $LOCAL_PYTHON_PATH/* "$APP_DIR"/usr/share/pyshared
+cp -r /usr/lib/python3.8/* "$APP_DIR"/usr/share/pyshared
# AppImage build dir
mkdir -p appimage-build