2020-06-02 18:58:59 +08:00

18 lines
413 B
YAML

name: pypi
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
steps:
- uses: actions/checkout@v2
- name: Install poetry
run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
- name: Pypi Publish
run: |
make build
make publish