Skip to content

Commit

Permalink
Fix publication script
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Apr 19, 2022
1 parent 47c667a commit 087621f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Publish Package
on:
release:
types: [published]
workflow_dispatch:

jobs:
deploy:
Expand All @@ -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:
Expand Down

0 comments on commit 087621f

Please sign in to comment.