Skip to content

Commit 6dcd3f6

Browse files
committed
Fix GitHub Packages upload URL (SSL hostname mismatch)
upload.pypi.pkg.github.com has a cert for *.registry.github.com which does not cover that hostname. The valid endpoint covered by *.pkg.github.com is pypi.pkg.github.com.
1 parent c9e2b65 commit 6dcd3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
env:
9898
TWINE_USERNAME: ${{ github.repository_owner }}
9999
TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
100-
run: twine upload --repository-url https://upload.pypi.pkg.github.com/${{ github.repository_owner }}/ dist/*
100+
run: twine upload --repository-url https://pypi.pkg.github.com/${{ github.repository_owner }}/ dist/*
101101

102102
smoke-test:
103103
name: Smoke test published package

0 commit comments

Comments
 (0)