2024-02-05 15:11:31 +00:00
|
|
|
steps:
|
2023-02-04 20:07:10 +00:00
|
|
|
build-package:
|
2024-02-05 15:13:37 +00:00
|
|
|
image: nikolaik/python-nodejs:python3.10-nodejs21-alpine
|
2024-02-05 15:11:31 +00:00
|
|
|
commands:
|
|
|
|
- apt update && apt install build-essential -y
|
|
|
|
- python -m pip install -U jupyterlab~=4.0.12 build twine
|
|
|
|
- python -m build -s
|
|
|
|
- python -m twine upload dist/* --repository-url=$TWINE_REPOSITORY_URL
|
|
|
|
secrets: [ TWINE_USERNAME, TWINE_PASSWORD, TWINE_REPOSITORY, TWINE_REPOSITORY_URL]
|