Skip to content

Update setup.cfg

Update setup.cfg #73

Workflow file for this run

name: Automated Version Bump
on:
push:
branches:
- main
jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.9 🐍
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Checkout code
uses: actions/checkout@v2
- name: Install required packages
run: |
python -m pip install --upgrade pip
pip install toml
- name: Automated Version Bump
run: python .github/bump_version.py
- name: Commit and push version bump
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add setup.cfg pyproject.toml
git commit -m "Automated Version Bump" -a
git push
- name: Install pypa/build
run: |
python -m pip install build
- name: Build the package
run: |
python -m build
- name: pypi-publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}