From 409e3e3fac0a8d716189a8d030890416e68689de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Berg=20Glasius?= Date: Fri, 29 Dec 2023 16:38:39 +0100 Subject: [PATCH] Update documentation --- .github/workflows/github-pages.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 40b6e14..71db082 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -32,9 +32,13 @@ jobs: with: distribution: temurin java-version: 11 + - uses: dhkatz/get-version-action@v3.0.0 + id: get_version - uses: gradle/gradle-build-action@v2 - - name: Build asciidocs - run: ./gradlew :docs:asciidoctor + env: + RELEASE_VERSION: ${{ steps.get_version.outputs.version-without-v }} + with: + arguments: -Pversion=${RELEASE_VERSION} :docs:asciidoctor - uses: actions/configure-pages@v4 - uses: actions/upload-pages-artifact@v3 with: