File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -400,8 +400,8 @@ jobs:
400400 - name : Prepare docs
401401 run : |
402402 mkdir -p docs
403- cp -a target/site/apidocs docs/ reference
404- tar -cvzf docs .tar.gz docs
403+ cp -a target/site/apidocs reference
404+ tar -cvzf reference .tar.gz reference
405405 - name : Upload binaries
406406 uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
407407 with :
@@ -410,12 +410,12 @@ jobs:
410410 - name : Upload docs
411411 uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
412412 with :
413- name : release-docs
414- path : docs.tar.gz
413+ name : reference
414+ path : reference
415415 docs :
416416 name : Docs
417417 needs :
418- - source
418+ - binaries
419419 runs-on : ubuntu-latest
420420 permissions :
421421 contents : read
@@ -427,7 +427,9 @@ jobs:
427427 - name : Download source archive
428428 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
429429 with :
430- name : release-source
430+ name : |
431+ reference
432+ release-source
431433 - name : Extract source archive
432434 run : |
433435 tar -xf apache-arrow-java-*.tar.gz --strip-components=1
@@ -438,13 +440,14 @@ jobs:
438440 source venv/bin/activate
439441 pip install -r requirements.txt
440442 make html
443+ tar -xf ../reference.tar.gz -C docs/build/html
441444 - name : Compress into single artifact to keep directory structure
442445 run : tar -cvzf docs.tar.gz -C docs/build html
443446 - name : Upload artifacts
444447 uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
445448 with :
446- name : release-sphinx-docs
447- path : docs .tar.gz
449+ name : release-html
450+ path : html .tar.gz
448451 verify :
449452 name : Verify
450453 needs :
You can’t perform that action at this time.
0 commit comments