From 9d8797bd6b3f11c0ef0d7adc38044af249a2096d Mon Sep 17 00:00:00 2001 From: Pablo Boizeau <pablo.boizeau@ird.fr> Date: Fri, 13 Dec 2024 10:29:35 +0100 Subject: [PATCH] Fix pypi ci --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f9da08..a498ddc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -148,9 +148,10 @@ API key Tests: pypi: stage: Ship only: - - main + - main + before_script: + - python3 -m pip install --upgrade build twine script: - - pip install --upgrade build twine - - python3 -m build + - python3 -m build after_script: - - python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ --non-interactive --verbose -u __token__ -p $pypi_token dist/* + - python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ --non-interactive --verbose -u __token__ -p $pypi_token dist/* -- GitLab