Skip to content

Commit acf3065

Browse files
committed
Try another way to build docs in GH-Action
1 parent c54929d commit acf3065

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ jobs:
6161
set -x
6262
uv build -C build-dir=_build
6363
uv sync --no-editable --group docs
64-
cd _build && uv run --group docs --no-editable -m sphinx -b html -W -v ../docs html
64+
cd _build && ../.venv/bin/python -m sphinx -b html -W -v ../docs html

.github/workflows/install.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
exit 1
6868
esac
6969
70-
python3 -m pip install --break-system-packages pytest sphinx
70+
python3 -m pip install --break-system-packages pytest sphinx build
7171
7272
- name: Install uv
7373
uses: astral-sh/setup-uv@v5
@@ -76,6 +76,7 @@ jobs:
7676
shell: bash
7777
run: |
7878
set -x
79+
python3 -m build
7980
python3 -m pip install -I -v --break-system-packages .
8081
# Avoid importing the systemd module from the git repository
8182
cd /

0 commit comments

Comments
 (0)