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 Oct 16, 2023
1 parent 42792f3 commit 203b40a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install twine
run: pip install twine
- name: Install twine and wheel
run: pip install twine wheel # Add wheel here
- name: Build and Publish
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python setup.py sdist bdist_wheel # This should work now
twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD
deploy-conda:
Expand All @@ -116,6 +116,8 @@ jobs:
source "$HOME/miniconda/etc/profile.d/conda.sh"
conda config --set always_yes yes --set changeps1 no
conda update -q conda
- name: Install conda-build # Add this step
run: conda install conda-build
- name: Build and Publish to Anaconda
env:
ANACONDA_USERNAME: ${{ secrets.ANACONDA_USERNAME }}
Expand Down

0 comments on commit 203b40a

Please sign in to comment.