Skip to content
Snippets Groups Projects
Commit 1ddd16cc authored by Laurenz Alexander Neumann's avatar Laurenz Alexander Neumann
Browse files

Datei .gitlab-ci.yml aktualisieren

parent 3e7d40a5
No related branches found
No related tags found
No related merge requests found
Pipeline #1698984 passed
default:
image: python:3.13
cache:
paths:
- .pip-cache/
before_script:
- python --version
- pip install --upgrade pip
- pip install build twine
stages:
- build
- test
- publish
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip-cache"
build:
stage: build
script:
- python -m build
artifacts:
paths:
- dist/
publish:
stage: publish
script:
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
rules:
- if: $CI_COMMIT_TAG
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment