File: deploy-sdist.yaml

package info (click to toggle)
satpy 0.59.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,292 kB
  • sloc: python: 93,630; xml: 3,343; makefile: 143; javascript: 23
file content (29 lines) | stat: -rw-r--r-- 568 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Deploy sdist

on:
  push:
  pull_request:
  release:
    types:
      - published

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout source
        uses: actions/checkout@v5

      - 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/gh-action-pypi-publish@v1.13.0
        with:
          user: __token__
          password: ${{ secrets.pypi_password }}