Skip to content

Commit c00a72a

Browse files
committed
Authenticate PyPI releases
1 parent e09ff17 commit c00a72a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
- name: Check tag and package version
2828
run: test "${GITHUB_REF_NAME#v}" = "$(python -c 'import mailschema; print(mailschema.__version__)')"
2929
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
30+
with:
31+
user: __token__
32+
password: ${{ secrets.PYPI_API_TOKEN }}
3033
- name: Publish GitHub release
3134
run: gh release create "$GITHUB_REF_NAME" --generate-notes dist/*
3235
env:
3336
GH_TOKEN: ${{ github.token }}
34-

0 commit comments

Comments
 (0)