Skip to content

Commit 19fe365

Browse files
fix
1 parent 982b84f commit 19fe365

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ jobs:
4848

4949
- name: Build package
5050
run: python -m build
51+
env:
52+
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
5153

5254
- name: Publish package
5355
uses: pypa/gh-action-pypi-publish@release/v1
5456
with:
5557
user: __token__
56-
password: ${{ secrets.PYPI_API_TOKEN }}
58+
password: ${{ secrets.PYPI_API_TOKEN }}
59+
env:
60+
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"

0 commit comments

Comments
 (0)