Skip to content

Commit 30b695d

Browse files
committed
Add build step to release action
1 parent 5f6a34f commit 30b695d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/python-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ jobs:
4747
4848
# 4. Publish to PyPi
4949
# -------------------------------------------------------------------------------------------
50+
- name: Build package
51+
run: python -m build
52+
5053
- name: Publish package
51-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
54+
uses: pypa/gh-action-pypi-publish@release/v1
5255
with:
5356
user: __token__
5457
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)