From ab4898e6e9fcab257056dc754cabb22387e51f2a Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Thu, 21 Mar 2024 17:59:24 -0700 Subject: [PATCH] Fix docs publishing (#203) * try and fix the docs publishing * only do it on main now --- .github/workflows/docs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4e6cf7355..e564235d8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: '17' - name: Build documentation run: ./gradlew dokkaHtml - name: Publish documentation