Skip to content

Publish Release

Publish Release #5

name: Publish Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'run-llama/llama_extract'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Build package
run: poetry build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.LLAMA_EXTRACT_PYPI_TOKEN }}