Skip to content

Commit 268b31d

Browse files
committed
chore(workflows): update python-publish.yml to build before uploading
Modified the workflow to build the project using `poetry build` before uploading to PyPI. Signed-off-by: longhao <hal.long@outlook.com>
1 parent f6746af commit 268b31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
python -m pip install -U pip poetry mkdocs mkdocs-material
3333
poetry --version
34-
poetry install
34+
poetry build
3535
# Note that we don't need credentials.
3636
# We rely on https://docs.pypi.org/trusted-publishers/.
3737
- name: Upload to PyPI

0 commit comments

Comments
 (0)