matrix-webhook/.github/workflows/pypi.yml
2021-07-18 22:51:41 +02:00

15 lines
300 B
YAML

name: PyPI
on:
push:
tags:
- 'v*'
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip install -U poetry twine wheel
- run: poetry build
- run: twine upload --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/*