File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4545 token : ${{ secrets.NPM_TOKEN }}
4646
4747 - name : Publish to PyPI
48- uses : pypa/gh-action-pypi-publish@v1.4.2
48+ uses : pypa/gh-action-pypi-publish@v1.12.3
4949 with :
5050 password : ${{ secrets.PYPI_API_TOKEN }}
51+ packages-dir : py-dist/
5152
5253 - name : Commit updated package-lock.json and docs requirements
5354 uses : stefanzweifel/git-auto-commit-action@v4
@@ -114,9 +115,10 @@ jobs:
114115 token : ${{ secrets.NPM_TOKEN }}
115116
116117 - name : Publish to PyPI
117- uses : pypa/gh-action-pypi-publish@v1.4.2
118+ uses : pypa/gh-action-pypi-publish@v1.12.3
118119 with :
119120 password : ${{ secrets.PYPI_API_TOKEN }}
121+ packages-dir : py-dist/
120122
121123 - name : Commit updated package-lock.json
122124 uses : stefanzweifel/git-auto-commit-action@v4
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ dash_bootstrap_components/_components/
1616__pycache__
1717* .pyc
1818dist
19+ py-dist
1920* .egg-info
2021
2122# release artifacts
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ test-js:
4141
4242# Delete generated files and recreate empty directories
4343clean :
44- rm -rf dist lib dash_bootstrap_components/ _components
45- mkdir -p dist lib dash_bootstrap_components/ _components
44+ rm -rf py-dist dist lib dash_bootstrap_components/ _components
45+ mkdir -p py-dist dist lib dash_bootstrap_components/ _components
4646
4747# Build dash-bootstrap-components
4848build : clean && _build-py
@@ -79,7 +79,7 @@ deploy-docs: _copy-examples
7979_ build-py : && _move-generated-files
8080 uv run dash-generate-components ./ src/ components dash_bootstrap_components
8181 cp dash_bootstrap_components/ _components/ dash_bootstrap_components.min.js dist
82- uv build --sdist --wheel
82+ uv build --sdist --wheel -o py-dist
8383
8484_ copy-examples :
8585 cp examples/ gallery/ iris-kmeans/ app.py docs/ examples/ vendor/ iris.py
You can’t perform that action at this time.
0 commit comments