Fix MDX compatibility + missing tests + missing doc (#225) #167
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: 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 |