Polar2Grid 3.1.0 #8
Workflow file for this run
This file contains 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: 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 }} |