From e0f1303bfea39ed651cf0873ed2a69625963c021 Mon Sep 17 00:00:00 2001 From: Jorge Soares Date: Mon, 27 Jul 2026 23:07:26 +0100 Subject: [PATCH] ci: update node on workflows, fix sphinx build --- .github/workflows/deploy-api-docs.yml | 4 ++-- .github/workflows/deploy-web.yml | 2 +- .github/workflows/pr-checks.yml | 6 +++--- .github/workflows/release-duc2pdf.yml | 2 +- .github/workflows/release-ducjs.yml | 2 +- .github/workflows/release-ducpdf.yml | 2 +- .github/workflows/release-ducpy.yml | 2 +- .github/workflows/release-ducrs.yml | 2 +- .github/workflows/release-ducsvg.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/build-all-api-docs.py | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-api-docs.yml b/.github/workflows/deploy-api-docs.yml index c0f98a17..1b1f2752 100644 --- a/.github/workflows/deploy-api-docs.yml +++ b/.github/workflows/deploy-api-docs.yml @@ -47,7 +47,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -87,7 +87,7 @@ jobs: TAG_VERSION=$(node -p "require('./package.json').version") fi echo "Resolved ducpy version: $TAG_VERSION" - uv run sphinx-build -D version="$TAG_VERSION" -D release="$TAG_VERSION" -M html . _build + uv run sphinx-build -b html -D version="$TAG_VERSION" -D release="$TAG_VERSION" . _build/html working-directory: packages/ducpy/docs - name: Stage Python API Docs diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index 96f55028..a7fb1701 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node uses: actions/setup-node@v6 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index ac25032a..af918af7 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -51,7 +51,7 @@ jobs: needs_wasm: ${{ steps.check.outputs.needs_wasm }} needs_python: ${{ steps.check.outputs.needs_python }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -195,7 +195,7 @@ jobs: if: needs.release-check.outputs.any_release == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -299,7 +299,7 @@ jobs: name: Next.js Docs Site Build Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/release-duc2pdf.yml b/.github/workflows/release-duc2pdf.yml index 8f19e6d4..df0793c5 100644 --- a/.github/workflows/release-duc2pdf.yml +++ b/.github/workflows/release-duc2pdf.yml @@ -16,7 +16,7 @@ jobs: group: release-duc2pdf cancel-in-progress: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release-ducjs.yml b/.github/workflows/release-ducjs.yml index 81354dc0..83fab43e 100644 --- a/.github/workflows/release-ducjs.yml +++ b/.github/workflows/release-ducjs.yml @@ -17,7 +17,7 @@ jobs: group: release-ducjs cancel-in-progress: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release-ducpdf.yml b/.github/workflows/release-ducpdf.yml index 12f3ff6d..10714207 100644 --- a/.github/workflows/release-ducpdf.yml +++ b/.github/workflows/release-ducpdf.yml @@ -17,7 +17,7 @@ jobs: group: release-ducpdf cancel-in-progress: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release-ducpy.yml b/.github/workflows/release-ducpy.yml index 693715d2..dbce277e 100644 --- a/.github/workflows/release-ducpy.yml +++ b/.github/workflows/release-ducpy.yml @@ -22,7 +22,7 @@ jobs: outputs: release_status: ${{ steps.release.outputs.status }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release-ducrs.yml b/.github/workflows/release-ducrs.yml index 9b15b297..d6684fd7 100644 --- a/.github/workflows/release-ducrs.yml +++ b/.github/workflows/release-ducrs.yml @@ -16,7 +16,7 @@ jobs: group: release-ducrs cancel-in-progress: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release-ducsvg.yml b/.github/workflows/release-ducsvg.yml index 6d56dfb6..8b463d2a 100644 --- a/.github/workflows/release-ducsvg.yml +++ b/.github/workflows/release-ducsvg.yml @@ -17,7 +17,7 @@ jobs: group: release-ducsvg cancel-in-progress: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7744e3d6..8f6236c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: ducsvg: ${{ steps.check.outputs.ducsvg }} duc2pdf: ${{ steps.check.outputs.duc2pdf }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.ref_name }} diff --git a/scripts/build-all-api-docs.py b/scripts/build-all-api-docs.py index 00f7be1d..1e283022 100644 --- a/scripts/build-all-api-docs.py +++ b/scripts/build-all-api-docs.py @@ -58,7 +58,7 @@ def main(): print(f" Resolved ducpy version: {py_ver}") if ducpy_docs_dir.exists(): subprocess.run( - ["uv", "run", "--with", "sphinx", "--with", "furo", "--with", "sphinx-autoapi", "sphinx-build", "-D", f"version={py_ver}", "-D", f"release={py_ver}", "-M", "html", ".", "_build"], + ["uv", "run", "--with", "sphinx", "--with", "furo", "--with", "sphinx-autoapi", "sphinx-build", "-b", "html", "-D", f"version={py_ver}", "-D", f"release={py_ver}", ".", "_build/html"], cwd=ducpy_docs_dir, check=False )