kou commented on code in PR #553:
URL: https://github.com/apache/arrow-java/pull/553#discussion_r1926633830
##########
.github/workflows/rc.yml:
##########
@@ -410,8 +410,46 @@ jobs:
- name: Upload docs
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
# v4.6.0
with:
- name: release-docs
- path: docs.tar.gz
+ name: reference
+ path: reference.tar.gz
+ docs:
+ name: Docs
+ needs:
+ - binaries
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+ steps:
+ - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #
v5.3.0
+ with:
+ cache: 'pip'
+ - name: Download source archive
+ uses:
actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
+ with:
+ name: release-source
+ - name: Download Javadocs
+ uses:
actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
+ with:
+ name: reference
+ - name: Extract source archive
+ run: |
+ tar -xf apache-arrow-java-*.tar.gz --strip-components=1
+ - name: Build
+ run: |
+ cd docs
+ python -m venv venv
+ source venv/bin/activate
+ pip install -r requirements.txt
+ make html
+ tar -xf ../reference.tar.gz -C build/html
+ - name: Compress into single artifact to keep directory structure
+ run: tar -cvzf docs.tar.gz -C docs/build html
Review Comment:
```suggestion
run: tar -cvzf html.tar.gz -C docs/build html
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]