diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index f8f043e..8a6227c 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -3,6 +3,7 @@ name: Publish tag to Pypi on: release: types: [published] + workflow_dispatch: permissions: contents: read # to fetch code (actions/checkout) @@ -20,12 +21,11 @@ jobs: - name: Install dev tools run: | pip install -r dev_requirements.txt - pip install twine wheel + pip install twine wheel build - name: Build package run: | - python setup.py build - python setup.py sdist bdist_wheel + python -m build - name: Basic package test prior to upload run: |