Skip to content

v1.3.1

v1.3.1 #20

Workflow file for this run

name: Release to pypi
on:
release:
types: [released]
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pydantic-aioredis
permissions:
id-token: write
steps:
- name: Check out the repository
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.11"
- name: Install pip and poetry
run: |
pip install --upgrade --constraint .github/workflows/constraints.txt pip poetry
pip --version
poetry --version
- name: Build package
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1