File tree Expand file tree Collapse file tree 3 files changed +12
-17
lines changed
Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,12 @@ jobs:
104104 path : test-results
105105
106106 release :
107- if : startsWith(github.event.ref, 'refs/tags/v')
107+ # if: startsWith(github.event.ref, 'refs/tags/v')
108108 needs : [ui-test]
109109 # needs: [test, ui-test]
110110 runs-on : ubuntu-20.04
111+ permissions :
112+ id-token : write # this permission is mandatory for trusted publishing
111113 steps :
112114 - uses : actions/download-artifact@v3
113115 with :
@@ -129,17 +131,7 @@ jobs:
129131 python -m pip install --upgrade pip
130132 pip install twine wheel jupyter-packaging jupyterlab
131133
132- - name : Publish the Python package
133- env :
134- TWINE_USERNAME : __token__
135- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
136- run : twine upload --skip-existing dist/*.whl dist/*.tar.gz
137-
138- # - name: Publish the NPM package
139- # run: |
140- # echo $PRE_RELEASE
141- # if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
142- # npm publish --tag ${TAG} --access public *.tgz
143- # env:
144- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
145- # PRE_RELEASE: ${{ github.event.release.prerelease }}
134+ - name : Publish package distributions to PyPI
135+ uses : pypa/gh-action-pypi-publish@release/v1
136+ with :
137+ packages-dir : dist
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ The following components are wrapped (more will be coming):
2929# Installation
3030
3131```
32- pip install ipyantd
32+ pip install solara- ipyantd
3333```
3434
3535# Dev install
Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ requires = [
55]
66build-backend = " hatchling.build"
77
8+ [tool .hatch .build .targets .wheel ]
9+ packages = [" ipyantd" ]
10+
811[project ]
9- name = " ipyantd"
12+ name = " solara- ipyantd"
1013dynamic = [" version" ]
1114description = " React for ipywidgets that just works"
1215readme = " README.md"
You can’t perform that action at this time.
0 commit comments