Skip to content

Commit c62c492

Browse files
committed
fix auth to PyPI in publish - verify with dry run
1 parent 7ef615d commit c62c492

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/on-release-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
7272
- name: Publish to PyPI
7373
run: |
74-
make publish
75-
env:
76-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
74+
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
75+
poetry publish --dry-run
76+
# poetry publish --skip-existing
7777
7878
- name: Setup tmate
7979
if: failure()

0 commit comments

Comments
 (0)