Skip to content

Commit

Permalink
make python findable
Browse files Browse the repository at this point in the history
  • Loading branch information
testlabauto committed Mar 3, 2025
1 parent 7489ed9 commit a578e34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/install-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,18 @@ runs:
exit 1
fi
# Create symlinks for python and python3
ln -sf "$PYTHON_BIN" "$INSTALL_DIR/usr/bin/python"
ln -sf "$PYTHON_BIN" "$INSTALL_DIR/usr/bin/python3"
# Manually install pip since `ensurepip` is disabled
echo "Installing pip manually..."
curl -sS https://bootstrap.pypa.io/get-pip.py | $PYTHON_BIN
# Verify pip installation
$PYTHON_BIN -m pip --version
# Print symlink verification
ls -l $INSTALL_DIR/usr/bin/python*

0 comments on commit a578e34

Please sign in to comment.