Skip to content

Commit 4a575c5

Browse files
authored
Update build-single-exchange.yml
1 parent c5c4b88 commit 4a575c5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,9 @@ jobs:
4444
python -m pip install --upgrade pip
4545
pip install build twine
4646
47-
- name: Build package
48-
run: |
49-
cd temp_pypi
50-
python -m build
51-
52-
- name: Publish to PyPI
47+
- name: Build & publish to pypi
5348
env:
54-
TWINE_USERNAME: __token__
55-
TWINE_PASSWORD: ${{ secrets.PYPI_API_SECRET }}
56-
run: twine upload dist/*
49+
PYPI_API_SECRET: ${{ secrets.PYPI_API_SECRET }}
50+
run: |
51+
cd build || echo "already in build"
52+
npm run pypi-publish

0 commit comments

Comments
 (0)