v2.1.0 add sepolia (#219) #31
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: Publish to PyPI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
environment: master branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install Dependencies | |
run: pip install -r requirements-publish.txt | |
- name: create packages | |
run: python setup.py sdist bdist_wheel | |
- name: upload to pypi | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: python -m twine upload -u __token__ -p $PYPI_TOKEN dist/* --skip-existing |