Skip to content

2.10.5

2.10.5 #115

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
test:
uses: './.github/workflows/test.yml'
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Set up Python 3.x
uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20 # v1.2.3
with:
python-version: '3.x'
- name: Install Python 3.x dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install setuptools wheel twine
- name: Build package
run: |
python3 setup.py sdist bdist_wheel --universal
- name: Publish package
uses: pypa/gh-action-pypi-publish@9b8e7336db3f96a2939a3e9fa827c62f466ca60d # master
with:
user: __token__
password: ${{ secrets.pypi_password }}