Skip to content

Commit ad51873

Browse files
authored
Update release-pypi.yml
1 parent bdf59fb commit ad51873

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release-pypi.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@ jobs:
1515
uses: actions/setup-python@v2
1616
with:
1717
python-version: 3.11.x
18+
- name: install twine
19+
run: |
20+
python -m pip install --upgrade pip;
21+
pip install twine;
22+
pip install build;
23+
1824
- name: Upload to PyPI
1925
env:
2026
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
21-
run: cd guardrails-api-client; python setup.py sdist upload
27+
run: |
28+
cd guardrails-api-client;
29+
python -m build;
30+
twine upload dist/* -u __token__ -p $PYPI_PASSWORD;

0 commit comments

Comments
 (0)