update ci

This commit is contained in:
long2ice
2020-08-26 20:49:59 +08:00
parent c20bb73f27
commit b391e12e6a
2 changed files with 0 additions and 0 deletions

21
.github/workflows/pypi.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: pypi
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3
- name: Build dists
run: make build
- name: Pypi Publish
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}