From 590b9a13f59be61c7ae7d5020472446372163fdb Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:00:00 +0100 Subject: [PATCH] added uvicorn in requirements --- .gitlab-ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c01409..6afb933 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,14 +56,11 @@ release: stage: release when: manual variables: - TWINE_USERNAME: gitlab-ci-token # GitLab's default token username for PyPI - TWINE_PASSWORD: $TWINE_PASSWORD # Personal access token with `write_package_registry` scope - tags: - - x86 - - python + TWINE_USERNAME: gitlab-ci-token # Use CI default username for GitLab PyPI + TWINE_PASSWORD: $CI_JOB_TOKEN # CI job token for authentication script: - - pip install --upgrade pip - - pip install build twine - - python setup.py sdist bdist_wheel + - pip install build twine # Install dependencies + - python -m build # Build the package - twine upload \ - --repository-url https://gitlab.psi.ch/api/v4/projects/2206/packages/pypidist/* \ No newline at end of file + --repository-url https://gitlab.psi.ch/api/v4/projects/2206/packages/pypi \ + dist/* \ No newline at end of file -- GitLab