Skip to content

Commit c903ab5

Browse files
committed
Fix publish
1 parent 03412ac commit c903ab5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,11 @@ jobs:
1616
- uses: pdm-project/setup-pdm@v3
1717
- name: Install Dependencies
1818
run: pdm sync
19-
- name: Build & publish
20-
run: pdm publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
19+
- name: Build
20+
run: pdm build -d dist
21+
- name: Publish release distributions to PyPI
22+
uses: pypa/gh-action-pypi-publish@release/v1
23+
with:
24+
verbose: true
25+
user: __token__
26+
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)