Skip to content

Commit

Permalink
SQASH - Modularize Build
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 13, 2024
1 parent 85a2368 commit 891c927
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ on:
default: false

jobs:
build-artifacts:
uses: ./.github/workflows/build-artifacts.yml
with:
# SonarQube requires JDK 17 or higher
java-version: '17'

pages:
needs: build-artifacts
runs-on: ubuntu-latest
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
Expand All @@ -37,22 +44,24 @@ jobs:
key: "${{ runner.os }}-doctoolchain-${{ hashFiles('**/lockfiles') }}"
restore-keys: ${{ runner.os }}-doctoolchain

- name: Setup Java
- name: Check out
uses: actions/checkout@v2

- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
# SonarQube requires JDK 17 or higher
java-version: 17

- name: Check out
uses: actions/checkout@v2
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: .

- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4

- name: Execute Gradle build
run: ./gradlew clean check integrationTest --scan --stacktrace

- name: Generate Pages
run: ./generate-pages

Expand Down

0 comments on commit 891c927

Please sign in to comment.