1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 20:00:01 +02:00

🎨 Release: Make installing setuptools-ocrd conditional on ocrd-tool.json

This commit is contained in:
Mike Gerber 2023-08-04 19:37:41 +02:00
parent dd16a16901
commit 0319d08218

View file

@ -14,8 +14,17 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Upgrade pip
run: python3 -m pip install --upgrade pip
- name: Install setuptools
run: |
python3 -m pip install --upgrade setuptools
# For OCR-D tools, we need setuptools-ocrd to get the version
if [ -e ocrd-tool.json ]; then
python3 -m pip install setuptools-ocrd
fi
- name: Check git tag vs package version - name: Check git tag vs package version
run: python3 -m pip install --upgrade setuptools setuptools-ocrd && .github/workflows/release-check-version-tag run: .github/workflows/release-check-version-tag
- name: Build package - name: Build package
run: python3 -m pip install --upgrade build && python3 -m build run: python3 -m pip install --upgrade build && python3 -m build
- name: Test - name: Test