update pypi.yml

This commit is contained in:
long2ice
2020-05-19 19:59:26 +08:00
parent f2556b77eb
commit ba514cff00

View File

@@ -1,9 +1,8 @@
name: pypi
on:
push:
paths:
- 'fastapi_admin/__init__.py'
- '.github/workflows/pypi.yml'
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
@@ -12,11 +11,9 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Build dists
run: |
python3 setup.py sdist
- name: Pypi Publish
uses: pypa/gh-action-pypi-publish@master
with: