Skip to content

Commit ecc97e1

Browse files
committed
upload by twine
1 parent 691b237 commit ecc97e1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/python.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,16 @@ jobs:
5353
- name: build
5454
run: |
5555
python -m build --sdist --wheel --outdir dist/ .
56+
- name: Upload
57+
run: |
5658
ls -la
5759
ls -la dist
5860
pwd
61+
twine upload dist/* --non-interactive --skip-existing
62+
env:
63+
TWINE_USERNAME: __token__
64+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
65+
5966
- name: upload
6067
uses: pypa/gh-action-pypi-publish@release/v1
6168
with:

python/ci_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
22
pytest-cov
33
build
4+
twine

0 commit comments

Comments
 (0)