mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-24 20:47:54 +00:00
25 lines
582 B
YAML
25 lines
582 B
YAML
name: pypi
|
|
on:
|
|
release:
|
|
types:
|
|
- created
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install and configure Poetry
|
|
run: |
|
|
pip install -U pip poetry
|
|
poetry config virtualenvs.create false
|
|
- name: Build dists
|
|
run: make build
|
|
- name: Pypi Publish
|
|
uses: pypa/gh-action-pypi-publish@master
|
|
with:
|
|
user: __token__
|
|
password: ${{ secrets.pypi_password }}
|