From 36a4846ceb2cf519b47acde67871d0e5e1d06f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lder=20Greg=C3=B3rio?= Date: Thu, 22 Oct 2026 21:53:45 +0100 Subject: [PATCH] MINOR: [CI] Restore the docs pip cache after source extraction The RC docs job enables pip caching before downloading or extracting the source archive, when the dependency manifest is unavailable. Extract the source first, then configure Python 3.12 and hash docs/requirements.txt explicitly before installing the documentation dependencies. --- .github/workflows/rc.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml index 2af245805d..0a739cd236 100644 --- a/.github/workflows/rc.yml +++ b/.github/workflows/rc.yml @@ -427,9 +427,6 @@ jobs: contents: read packages: write steps: - - uses: actions/setup-python@v7 - with: - cache: 'pip' - name: Download source archive uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: @@ -441,6 +438,12 @@ jobs: - name: Extract source archive run: | tar -xf apache-arrow-java-*.tar.gz --strip-components=1 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: '3.12' + cache: 'pip' + cache-dependency-path: docs/requirements.txt - name: Build run: | cd docs