Prevent accidental analysis of the get-pip.py script.
This commit is contained in:
parent
4d262138e1
commit
b8f3d839cc
1 changed files with 1 additions and 2 deletions
|
|
@ -31,8 +31,7 @@ python3 -m pip install --user pipenv
|
||||||
if command -v python2 &> /dev/null; then
|
if command -v python2 &> /dev/null; then
|
||||||
# Setup Python 2 dependency installation tools.
|
# Setup Python 2 dependency installation tools.
|
||||||
# The Ubuntu 20.04 GHA environment does not come with a Python 2 pip
|
# The Ubuntu 20.04 GHA environment does not come with a Python 2 pip
|
||||||
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
|
curl --location --fail https://bootstrap.pypa.io/get-pip.py | python2
|
||||||
python2 get-pip.py
|
|
||||||
|
|
||||||
python2 -m pip install --user --upgrade pip setuptools wheel
|
python2 -m pip install --user --upgrade pip setuptools wheel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue