File: publish.yml

package info (click to toggle)
graphql-core 3.2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,436 kB
  • sloc: python: 52,406; makefile: 26; sh: 13
file content (29 lines) | stat: -rw-r--r-- 564 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: Publish

on:
  push:
    tags:
      - 'v*'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v6

    - name: Set up Python 3.14
      uses: actions/setup-python@v6
      with:
        python-version: 3.14

    - name: Build wheel and source tarball
      run: |
        pip install setuptools wheel
        python setup.py sdist bdist_wheel

    - name: Publish a Python distribution to PyPI
      uses: pypa/gh-action-pypi-publish@release/v1
      with:
        user: __token__
        password: ${{ secrets.PYPI_TOKEN }}