Skip to content

Commit

Permalink
Merge pull request #26 from hechth/hechth/issue25
Browse files Browse the repository at this point in the history
updated publication pipeline
  • Loading branch information
hechth authored Nov 5, 2024
2 parents dfb6a31 + 3bafd02 commit 81ccd75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/CI_publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,13 @@ name: Publish
on:
release:
types: [published]
workflow_dispatch:

jobs:
publish:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- uses: actions/checkout@v4
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.17
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sparsestack"
version = "0.5.1"
version = "0.6.0"
description = "Python library to handle stacks of sparse COO arrays efficiently."
authors = ["Florian Huber <florian.huber@hs-duesseldorf.de>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion sparsestack/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.1'
__version__ = '0.6.0'

0 comments on commit 81ccd75

Please sign in to comment.