Skip to content

Merge pull request #1 from GT4SD/main (#251) #303

Merge pull request #1 from GT4SD/main (#251)

Merge pull request #1 from GT4SD/main (#251) #303

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.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