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: