Skip to content

Commit bbe93da

Browse files
committed
refactor(workflows): publish sdist
1 parent 39e8bdf commit bbe93da

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/manual-release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ jobs:
7676
git push origin HEAD
7777
git push origin "v${RELEASE_VERSION}"
7878
79-
- name: Build distributions
80-
run: python -m build
79+
- name: Build distributions (sdist only)
80+
run: python -m build --sdist
8181

8282
- name: Publish to PyPI
8383
uses: pypa/gh-action-pypi-publish@release/v1
8484
with:
85-
password: ${{ secrets.PYPI_API_TOKEN }}
85+
password: ${{ secrets.PYPI_API_TOKEN }}
86+
packages-dir: dist
87+
skip-existing: true

0 commit comments

Comments
 (0)