Skip to content

Bump pypa/gh-action-pypi-publish in /.github/workflows #12

Bump pypa/gh-action-pypi-publish in /.github/workflows

Bump pypa/gh-action-pypi-publish in /.github/workflows #12

Workflow file for this run

name: PyPI release
on: [push]
jobs:
pypi:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: python -m pip install --upgrade setuptools wheel twine qrcode kivy
- name: Build
run: |
python setup.py sdist bdist_wheel
twine check dist/*
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
verbose: true
user: __token__
password: ${{ secrets.pypi_password }}