Skip to content

Commit

Permalink
Merge pull request #2 from yuriyzubov/pipy_upload
Browse files Browse the repository at this point in the history
Pipy upload github actions
  • Loading branch information
yuriyzubov authored Jan 16, 2025
2 parents 930a5be + 1adfdf4 commit 851c030
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/to_pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry=2.0.0
- name: Build and publish
env:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry build
poetry publish
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 = "tif_to_zarr"
version = "0.5.5"
version = "0.6.0"
description = ""
authors = ["yurii_zubov"]
license = "BSD 3-Clause License"
Expand Down

0 comments on commit 851c030

Please sign in to comment.