mirror of
https://github.com/docling-project/docling-serve.git
synced 2026-04-27 20:40:19 +00:00
30 lines
756 B
YAML
30 lines
756 B
YAML
name: Run checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build-package:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.12']
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install uv and set the python version
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
enable-cache: true
|
|
- name: Install dependencies
|
|
run: uv sync --all-extras --no-extra cu124
|
|
- name: Build package
|
|
run: uv build
|
|
- name: Check content of wheel
|
|
run: unzip -l dist/*.whl
|
|
- name: Store the distribution packages
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: python-package-distributions
|
|
path: dist/
|