Skip to content

Merge branch 'main' of https://github.com/enoch3712/Open-DocLLM #18

Merge branch 'main' of https://github.com/enoch3712/Open-DocLLM

Merge branch 'main' of https://github.com/enoch3712/Open-DocLLM #18

Workflow file for this run

name: Python package workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install poetry
poetry install
# - name: Run tests
# run: poetry run pytest
- name: Build package
run: poetry build
- name: Publish to PyPI
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}