Skip to content

Polar2Grid 3.1.0

Polar2Grid 3.1.0 #8

Workflow file for this run

name: Deploy sdist
on:
release:
types:
- published
jobs:
deploysdist:
name: "Deploy sdist"
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Create sdist
shell: bash -l {0}
run: |
python -m pip install -U build pip
python -m build
- name: Publish package to PyPI
# upload to PyPI on every release for a tag starting with 'v'
if: github.event.action == 'published' && startsWith(github.event.release.tag_name, 'v')
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}