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 45
45
token : ${{ secrets.NPM_TOKEN }}
46
46
47
47
- name : Publish to PyPI
48
- uses : pypa/gh-action-pypi-publish@v1.4.2
48
+ uses : pypa/gh-action-pypi-publish@v1.12.3
49
49
with :
50
50
password : ${{ secrets.PYPI_API_TOKEN }}
51
+ packages-dir : py-dist/
51
52
52
53
- name : Commit updated package-lock.json and docs requirements
53
54
uses : stefanzweifel/git-auto-commit-action@v4
@@ -114,9 +115,10 @@ jobs:
114
115
token : ${{ secrets.NPM_TOKEN }}
115
116
116
117
- name : Publish to PyPI
117
- uses : pypa/gh-action-pypi-publish@v1.4.2
118
+ uses : pypa/gh-action-pypi-publish@v1.12.3
118
119
with :
119
120
password : ${{ secrets.PYPI_API_TOKEN }}
121
+ packages-dir : py-dist/
120
122
121
123
- name : Commit updated package-lock.json
122
124
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/
16
16
__pycache__
17
17
* .pyc
18
18
dist
19
+ py-dist
19
20
* .egg-info
20
21
21
22
# release artifacts
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ test-js:
41
41
42
42
# Delete generated files and recreate empty directories
43
43
clean :
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
46
46
47
47
# Build dash-bootstrap-components
48
48
build : clean && _build-py
@@ -79,7 +79,7 @@ deploy-docs: _copy-examples
79
79
_ build-py : && _move-generated-files
80
80
uv run dash-generate-components ./ src/ components dash_bootstrap_components
81
81
cp dash_bootstrap_components/ _components/ dash_bootstrap_components.min.js dist
82
- uv build --sdist --wheel
82
+ uv build --sdist --wheel -o py-dist
83
83
84
84
_ copy-examples :
85
85
cp examples/ gallery/ iris-kmeans/ app.py docs/ examples/ vendor/ iris.py
You can’t perform that action at this time.
0 commit comments