add root-user-action=ignore and check for .complete file (#223)

This commit is contained in:
Dmitry Shibanov
2023-03-09 11:18:26 +01:00
committed by GitHub
parent e952c806a5
commit b539ede4c3
3 changed files with 6 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR pyth
echo "Upgrading pip..."
./python -m ensurepip
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location --root-user-action=ignore
echo "Create complete file"
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete