docs: patching better-apidoc==0.3.2 #302
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: 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.10" | |
- 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 |