Update myaction.yml #53
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: 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: Install pypa/build | |
run: | | |
python -m pip install build --user | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Automated Version Bump | |
uses: phips28/gh-action-bump-version@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish distribution 📦 to PyPI | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |