From 8725aca91369eb3f7da0033227d445f5330f817e Mon Sep 17 00:00:00 2001 From: David Gregorczyk Date: Fri, 9 Aug 2024 15:18:42 +0200 Subject: [PATCH] Use setup-gradle@v4 --- .github/workflows/feature-review-build.yml | 9 +++++---- .github/workflows/latest-master-build.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/feature-review-build.yml b/.github/workflows/feature-review-build.yml index bba5fab..2cfacae 100755 --- a/.github/workflows/feature-review-build.yml +++ b/.github/workflows/feature-review-build.yml @@ -31,11 +31,12 @@ jobs: ruby-version: '3.0' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Setup gradle + uses: gradle/actions/setup-gradle@v4 + - name: Create HTML with Gradle - uses: gradle/actions/setup-gradle@v3 - with: - arguments: run --args="--input-file ../../asciidoc/sdpi-supplement.adoc --output-folder ../../sdpi-supplement --github-token ${{ secrets.SDPI_API_ACCESS_TOKEN_SECRET }} --backend html" - build-root-directory: .ci/asciidoc-converter + run: ./gradlew build --args="--input-file ../../asciidoc/sdpi-supplement.adoc --output-folder ../../sdpi-supplement --github-token ${{ secrets.SDPI_API_ACCESS_TOKEN_SECRET }} --backend html" + working-directory: .ci/asciidoc-converter - name: Generate PlantUML diagrams and copy images run: .github/copy_images.sh diff --git a/.github/workflows/latest-master-build.yml b/.github/workflows/latest-master-build.yml index 276fc69..b594c34 100755 --- a/.github/workflows/latest-master-build.yml +++ b/.github/workflows/latest-master-build.yml @@ -34,11 +34,12 @@ jobs: ruby-version: '3.0' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Setup gradle + uses: gradle/actions/setup-gradle@v4 + - name: Create HTML with Gradle - uses: gradle/actions/setup-gradle@v3 - with: - arguments: run --args="--input-file ../../asciidoc/sdpi-supplement.adoc --output-folder ../../sdpi-supplement --github-token ${{ secrets.SDPI_API_ACCESS_TOKEN_SECRET }} --backend html" - build-root-directory: .ci/asciidoc-converter + run: ./gradlew build --args="--input-file ../../asciidoc/sdpi-supplement.adoc --output-folder ../../sdpi-supplement --github-token ${{ secrets.SDPI_API_ACCESS_TOKEN_SECRET }} --backend html" + working-directory: .ci/asciidoc-converter - name: Generate PlantUML diagrams and copy images run: .github/copy_images.sh