diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..5b239da --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,29 @@ +name: Publish + +on: + push: + branches: [ master ] + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies and build + run: | + python -m pip install --upgrade pip + pip install wheel + python setup.py sdist + - name: Publish distribution 📦 to PyPI + continue-on-error: true + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/setup.py b/setup.py index ba945e9..953ed25 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ def build_extension(self, ext): setup( name='pqkmeans', - version='1.0.4', + version='1.0.5', author='Keisuke Ogaki, Yusuke Matsui', author_email='keisuke_ogaki@dwango.co.jp, matsui528@gmail.com', license='MIT License',