refactoring object id listing with separate view #22
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: PyPI | |
on: push | |
jobs: | |
build-n-publish: | |
name: Build and publish Python distribution to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- uses: actions/setup-node@v4 | |
- name: Run flake8 | |
run: | | |
python -mpip install flake8 | |
flake8 . | |
- name: Build a binary wheel and a source tarball | |
run: | | |
python -mpip install wheel | |
python setup.py sdist bdist_wheel | |
- name: Publish distribution to PyPI | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/[email protected] | |
with: | |
password: ${{ secrets.PYPI_TOKEN }} |