Skip to content

fix: pypi publisher action version #2

fix: pypi publisher action version

fix: pypi publisher action version #2

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/sqladmin-litestar-plugin
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
name: Check out repository
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
$HOME/.local/bin/poetry config virtualenvs.create false
- name: Build package
run: |
$HOME/.local/bin/poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1