From 632bd24504737c326f6d507f92e82a34c694ce84 Mon Sep 17 00:00:00 2001 From: dboe <dboe@ipp.mpg.de> Date: Thu, 9 Dec 2021 13:42:59 +0100 Subject: [PATCH] remove build dir after dist --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c76f0d9..f16c13a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,8 @@ dist: - python setup.py bdist_wheel # an alternative approach is to install and run: - pip install dist/* - # run the command here + # remove build directory in order to prevent ImportPathMismatchError + - rm -rf build artifacts: paths: - dist/*.whl -- GitLab