Skip to content

ci: upper bound pydantic #289

ci: upper bound pydantic

ci: upper bound pydantic #289

Workflow file for this run

name: Build and publish gt4sd on PyPI
on:
push:
branches:
- main
- ci-setup
jobs:
build-and-publish:
name: Build and publish gt4sd on PyPI
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
max-parallel: 3
matrix:
python-version:
- 3.8
- 3.7
os:
- ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Python setup ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install build
run: |
python -m pip install build
- name: Build dists
run: |
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true