mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Add PyPI publish workflow
This commit is contained in:
parent
1a0a2159a7
commit
eb91f793b4
1 changed files with 23 additions and 0 deletions
23
.github/workflows/pypi-publish.yml
vendored
Normal file
23
.github/workflows/pypi-publish.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: PyPI publish
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
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 }}
|
Loading…
Add table
Add a link
Reference in a new issue