Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Unverified Commit 7cc3d7f8 authored by danfengliu's avatar danfengliu Committed by GitHub
Browse files

Merge pull request #12978 from danfengliu/fix-ci-python-package-installation-issue

Fix git action CI python package installation
parents 062600ef 34e24901
......@@ -26,8 +26,8 @@ sudo make swagger_client
#TODO: Swagger python package used to installed into dist-packages, but it's changed into site-packages all in a sudden, we havn't found the root cause.
# so current workround is to copy swagger packages from site-packages to dist-packages.
if [ $(find $package_dir -type f| wc -l) -gt 0 ];then
sudo cp -r ${package_dir}/* /usr/local/lib/python3.7/dist-packages
if [ -d $package_dir ] && [ $(find $package_dir -type f -name "*client*.egg" | wc -l) -gt 0 ];then
sudo cp -rf ${package_dir}/* /usr/local/lib/python3.7/dist-packages
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