Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from aboSamoor/master
Browse files Browse the repository at this point in the history
PYPI upload action
  • Loading branch information
aboSamoor authored Aug 19, 2020
2 parents 3b90e7c + 4751b37 commit 0864b14
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
path: ./wheelhouse/*.whl


testpypi:
pypi:
needs: [wheel, sdist]
runs-on: ubuntu-latest
# upload to PyPI on every tag starting with 'v'
Expand Down Expand Up @@ -130,3 +130,10 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- name: Upload to pypi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import setuptools
from setuptools.command import build_ext

__version__ = '3.0.12'
__version__ = '3.0.13'
_NAME = 'gcld3'

REQUIREMENTS = ['pybind11 >= 2.5.0', 'wheel >= 0.34.2']
Expand Down

0 comments on commit 0864b14

Please sign in to comment.