mirror of
https://github.com/octoleo/plantuml.git
synced 2025-01-02 22:50:20 +00:00
chore: try to add javadoc to GitHub Pages
This commit is contained in:
parent
e0b299d2ef
commit
61b1e4f0f0
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -217,6 +217,29 @@ jobs:
|
|||||||
key: "libs-${{ github.run_id }}"
|
key: "libs-${{ github.run_id }}"
|
||||||
enableCrossOsArchive: true
|
enableCrossOsArchive: true
|
||||||
|
|
||||||
|
deploy_javadoc:
|
||||||
|
needs: [ build_artifacts ]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout the repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up java
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: temurin
|
||||||
|
|
||||||
|
- name: Build Javadoc
|
||||||
|
run: gradle javadoc
|
||||||
|
|
||||||
|
- name: Deploy Javadoc to GitHub Pages
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./build/docs/javadoc
|
||||||
|
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
if: |
|
if: |
|
||||||
needs.workflow_config.outputs.do_release == 'true' ||
|
needs.workflow_config.outputs.do_release == 'true' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user