v3.4.1 #8
Workflow file for this run
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 package to PyPi | |
on: | |
release: | |
types: [published] | |
jobs: | |
push: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.5 | |
- name: Install pip | |
run: pip install pip | |
- name: Install Dependencies | |
run: pip install setuptools wheel | |
- name: Build package | |
run: python setup.py sdist bdist_wheel | |
- name: Publish to PyPi | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_UPLOAD_TOKEN }} |