From 087621f882fdf1ea0c05076bfa2df1be76aff1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Tue, 19 Apr 2022 09:58:18 +0200 Subject: [PATCH] Fix publication script --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ede43d..923825f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,6 +3,7 @@ name: Publish Package on: release: types: [published] + workflow_dispatch: jobs: deploy: @@ -21,13 +22,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install jupyterlab~=3.0 jupyter_packaging~=0.7.9 setuptools>=40.8.0 wheel twine + python -m pip install "jupyterlab~=3.0" "jupyter_packaging~=0.10,<2" twine build - name: Build and publish package run: | jlpm - python setup.py sdist bdist_wheel - twine upload dist/* + python -m build + twine upload --skip-existing dist/* npm publish --access=public env: