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:
|
2024-02-05 15:16:25 +00:00
|
|
|
- apk update && apk add build-base gcc python3-dev musl-dev linux-headers
|
2024-02-05 15:11:31 +00:00
|
|
|
- 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]
|