Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 641a276

Browse files
authored
When upgrading pip, don't warn there's a new version of pip available (actions#117)
1 parent cd4aab3 commit 641a276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installers/nix-setup-template.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ fi
4848

4949
chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR python
5050

51-
echo "Upgrading PIP..."
51+
echo "Upgrading pip..."
5252
./python -m ensurepip
53-
./python -m pip install --ignore-installed pip --no-warn-script-location
53+
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location
5454

5555
echo "Create complete file"
5656
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete

0 commit comments

Comments
 (0)