Add step to build the dist files
@@ -29,6 +29,12 @@ jobs:
run: |
pip install pytest
pytest puresnmp
+ - name: Build distribution
+ if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
+ run: |
+ pip install bdist_wheel
+ python setup.py sdist
+ python setup.py bdist_wheel
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@e777b333
