mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 23:39:38 +00:00
When upgrading pip, don't warn there's a new version of pip available (#117)
This commit is contained in:
committed by
GitHub
parent
cd4aab3bcf
commit
641a2765a7
@ -48,9 +48,9 @@ fi
|
|||||||
|
|
||||||
chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR python
|
chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR python
|
||||||
|
|
||||||
echo "Upgrading PIP..."
|
echo "Upgrading pip..."
|
||||||
./python -m ensurepip
|
./python -m ensurepip
|
||||||
./python -m pip install --ignore-installed pip --no-warn-script-location
|
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location
|
||||||
|
|
||||||
echo "Create complete file"
|
echo "Create complete file"
|
||||||
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete
|
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete
|
||||||
|
Reference in New Issue
Block a user