Skip to content

Commit

Permalink
v1.0.5 & publish with Github Actions (#41)
Browse files Browse the repository at this point in the history
* ⭐ publish with actions

* ⭐ publish with actions

* ⭐ publish with actions

* ⭐ publish with actions

* 🎨 only sdist

* ⭐ 1.0.4.1dev

* ⭐ continue on error

* ⭐ 1.0.5
  • Loading branch information
Hi-king authored Apr 9, 2021
1 parent 5a0f3dc commit 1290070
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected], [email protected]',
license='MIT License',
Expand Down

0 comments on commit 1290070

Please sign in to comment.