Skip to content

Commit

Permalink
Update python-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeet-plato authored Nov 4, 2023
1 parent 95edb0a commit a4a6608
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}



deploy-pypi:
needs: create_release
runs-on: ubuntu-latest
Expand All @@ -63,15 +62,16 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install twine and wheel
run: pip install twine wheel # Add wheel here
- name: Install dependencies
run: pip install twine wheel setuptools # Add setuptools here
- name: Build and Publish
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel # This should work now
python setup.py sdist bdist_wheel
twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD
# deploy-conda:
# needs: create_release
Expand Down

0 comments on commit a4a6608

Please sign in to comment.