"include/vscode:/vscode.git/clone" did not exist on "de2f6ab262911a5d93fe25611f452c8a6670a79b"
Unverified Commit e52d8fb8 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] ask pip to always install local artifact but not download package from PyPI (#6574)

parent 3f7e6081
......@@ -359,14 +359,19 @@ fi
if test "${INSTALL}" = true; then
echo "--- installing lightgbm ---"
cd ../dist
if test "${BUILD_WHEEL}" = true; then
PACKAGE_NAME="lightgbm*.whl"
else
PACKAGE_NAME="lightgbm*.tar.gz"
fi
# ref for use of '--find-links': https://stackoverflow.com/a/52481267/3986677
pip install \
${PIP_INSTALL_ARGS} \
--ignore-installed \
--force-reinstall \
--no-cache-dir \
--no-deps \
--find-links=. \
lightgbm
${PACKAGE_NAME}
cd ../
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment