Skip to content

Commit

Permalink
fix(build): generate API reference in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrMilchmann committed Jul 28, 2024
1 parent 0375bfe commit f6b5a27
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ jobs:
tar -xvf ${{ env.WORKSPACE_ARCHIVE }}
rm ${{ env.WORKSPACE_ARCHIVE }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

- name: Dokka Generate
run: ./gradlew :dokkatooGenerate --info -S --show-version

- name: Setup Python
uses: actions/setup-python@v5

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,20 @@ jobs:
tar -xvf ${{ env.WORKSPACE_ARCHIVE }}
rm ${{ env.WORKSPACE_ARCHIVE }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

- name: Dokka Generate
run: ./gradlew :dokkatooGenerate --info -S --show-version

- name: Setup Python
uses: actions/setup-python@v5

Expand Down

0 comments on commit f6b5a27

Please sign in to comment.