From 0ca14613c448df72fd0b796db56fca9b565ce67f Mon Sep 17 00:00:00 2001 From: finn Date: Wed, 11 Sep 2024 12:17:05 -0700 Subject: [PATCH] build dokka docs in CI --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01a627cc..db1c6944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -395,3 +395,22 @@ jobs: with: name: rust-test-results path: test-results/rust-test-results.xml + + kotlin-docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + distribution: "adopt" + java-version: "11" + # Cache Maven repo + - uses: actions/cache@v3 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - run: mvn dokka:dokka + working-directory: bound/kt \ No newline at end of file