Skip to content

Merge pull request #108 from pytroll/dependabot/github_actions/pypa/g… #120

Merge pull request #108 from pytroll/dependabot/github_actions/pypa/g…

Merge pull request #108 from pytroll/dependabot/github_actions/pypa/g… #120

Workflow file for this run

name: Deploy sdist
on:
release:
types:
- published
push:
pull_request:
jobs:
build_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 -q build; python -m build
- name: Publish package to PyPI
if: github.event.action == 'published'
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}