Skip to content

Commit b65d571

Browse files
committed
[build] twine 2
1 parent 81e0c19 commit b65d571

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build-single-exchange.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,17 @@ jobs:
4444
python -m pip install --upgrade pip
4545
pip install build twine
4646
47-
- name: Build & publish to pypi
47+
- name: Build
4848
env:
4949
PYPI_API_SECRET: ${{ secrets.PYPI_API_SECRET }}
5050
run: |
5151
cd build || echo "already in build"
5252
npm run pypi-publish
53+
54+
- name: Upload to PyPI
55+
run: |
56+
cd ../temp_pypi
57+
python -m twine upload dist/*
58+
env:
59+
TWINE_USERNAME: __token__
60+
TWINE_PASSWORD: ${{ secrets.PYPI_API_SECRET }}

0 commit comments

Comments
 (0)