Skip to content

Release-pypi

Release-pypi #6

Workflow file for this run

name: Release-pypi
on:
workflow_dispatch:
jobs:
Pypi:
strategy:
matrix:
python-version: ["3.10"]
poetry-version: ["1.8.3"]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Build package
run: |
make build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API }}