Skip to content

Commit 55a1348

Browse files
authored
Update pyntcloud_cd.yml
1 parent 72d2744 commit 55a1348

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/pyntcloud_cd.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
20-
- name: Build and publish
21-
env:
22-
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
23-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
19+
pip install -r requirements.txt
20+
- name: Install pyntcloud
2421
run: |
25-
python setup.py sdist bdist_wheel
26-
twine upload dist/*
22+
pip install .
23+
- name: Publish packages to PyPI
24+
uses: pypa/gh-action-pypi-publish@master
25+
with:
26+
user: __token__
27+
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)