Skip to content

small improvements to GH workflows + gitignore (#28) #22

small improvements to GH workflows + gitignore (#28)

small improvements to GH workflows + gitignore (#28) #22

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
publish-to-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cp schema.json seq-json-schema/
python3 setup.py sdist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
print_hash: true
verbose: true
- name: Cleanup
if: always()
run: |
rm -rf *.egg-info dist
rm seq-json-schema/schema.json