Skip to content

feat(md): Support customising property table columns (#224) #166

feat(md): Support customising property table columns (#224)

feat(md): Support customising property table columns (#224) #166

name: Publish to Pypi
on:
push:
branches:
- main
workflow_dispatch:
inputs:
publish:
description: "Publish to pypi.org? (will not work from forks!)"
required: false
default: 'false'
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Publish to pypi
uses: coveooss/pypi-publish-with-poetry@v2
with:
project-name: json-schema-for-humans
pypi-token: ${{ secrets.PYPI_TOKEN }}
pre-release: ${{ github.ref != 'refs/heads/main' }}
dry-run: ${{ github.ref != 'refs/heads/main' && github.event.inputs.publish != 'true' }}
poetry-version: ==1.5.1