radicale/.github/workflows/pypi-publish.yml

23 lines
540 B
YAML
Raw Normal View History

name: PyPI publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-07-23 19:11:34 +02:00
- uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: python -m pip install wheel
- name: Build
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}