Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish-Anadv-07 authored Feb 15, 2024
1 parent 7f6b0ca commit cdfc5cf
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,23 @@ jobs:
python -m pip install coveralls==2.2
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build Pypi Files
run: |
pip install --upgrade setuptools
pip install wheel
pip install twine
git config --global user.name "${{secrets.GIT_USER}}"
git config --global user.email "${{secrets.GIT_GMAIL}}"
rm -rf build dist gunfolds.egg-info
git stash
git fetch --all
git checkout version
bash version_update.sh
python3 setup.py sdist bdist_wheel
- name: Publish to Pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit cdfc5cf

Please sign in to comment.