Skip to content

Commit 36b721c

Browse files
committed
TMP: Use Twine directly for now, skip test PyPI
1 parent 41d942b commit 36b721c

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/package.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,19 @@ jobs:
4141
run: tools/ci/build_archive.sh
4242
env:
4343
INSTALL_TYPE: wheel
44-
- name: Test PyPI upload
45-
uses: pypa/gh-action-pypi-publish@master
46-
with:
47-
user: __token__
48-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
49-
repository_url: https://test.pypi.org/legacy/
50-
skip_existing: true
44+
### Temporary
45+
- name: Check packages with twine
46+
run: |
47+
pip install twine
48+
twine check dist/*
49+
### Switch back to this if we figure out who has permissions on test.pypi.org
50+
# - name: Test PyPI upload
51+
# uses: pypa/gh-action-pypi-publish@master
52+
# with:
53+
# user: __token__
54+
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
55+
# repository_url: https://test.pypi.org/legacy/
56+
# skip_existing: true
5157
- name: Upload to PyPI (on tags)
5258
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
5359
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)