Skip to content

Commit

Permalink
fixating python version
Browse files Browse the repository at this point in the history
  • Loading branch information
jokkon committed Sep 19, 2024
1 parent 4897978 commit 5007e90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@ jobs:
sudo apt-get install -qq curl software-properties-common libnotify-dev libayatana-appindicator3-dev patchelf
sudo add-apt-repository -y ppa:git-core/ppa
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install -qq git python3.12-dev python3.12-venv python3.12-distutils
sudo apt-get install -qq git python$PYVER_MINOR-dev python$PYVER_MINOR-venv python$PYVER_MINOR-distutils
git config --global --add safe.directory "$GITHUB_WORKSPACE"
sudo ln -s `which python$PYVER_MINOR` /usr/local/bin/python
sudo ln -s `which python$PYVER_MINOR` /usr/local/bin/python3
PYVER_TEMP=`/usr/local/bin/python --version`
export PYVERINST=${PYVER_TEMP#* }
echo "PYVERINST=$PYVERINST" >> $GITHUB_ENV
echo "Installed python version: $PYVERINST"
python -m ensurepip --user
python -m pip install -U pip pipx
python -m ensurepip --user
- name: Verify Python version
if: ${{ env.PYVERINST != env.PYVER }}
Expand Down

0 comments on commit 5007e90

Please sign in to comment.