Merge pull request #112 from tlambert03/drop-zarr #154
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Build and publish Python π distributions π¦ to PyPI | |
| on: push | |
| jobs: | |
| build-n-publish: | |
| name: Build and publish Python π distributions π¦ to PyPI | |
| runs-on: ubuntu-latest | |
| if: | |
| startsWith(github.ref, 'refs/tags') | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.x" | |
| - name: Install Hatch | |
| run: | | |
| pip install hatch==1.14.1 | |
| - name: Build package | |
| run: | | |
| hatch build | |
| - name: Publish distribution π¦ to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| password: ${{ secrets.PYPI_API_TOKEN }} |