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