From 899334b54e02f1dfa3e3e115fd8f36c3f1a2477c Mon Sep 17 00:00:00 2001 From: Robert McNees <86265089+robertmcnees@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:03:13 -0400 Subject: [PATCH] Update CI to use a shared build --- .../continuous-integration-build.yml | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/.github/workflows/continuous-integration-build.yml b/.github/workflows/continuous-integration-build.yml index 4dd2265..57061db 100644 --- a/.github/workflows/continuous-integration-build.yml +++ b/.github/workflows/continuous-integration-build.yml @@ -10,32 +10,4 @@ on: jobs: build: - name: Build Main Branch - runs-on: ubuntu-latest - - steps: - - name: Checkout source code - uses: actions/checkout@v3 - - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - - name: Build Initial with Maven - working-directory: ./initial - run: ./mvnw --batch-mode clean package - - - name: Build Initial with Gradle - working-directory: ./initial - run: ./gradlew build - - - name: Build Complete with Maven - working-directory: ./complete - run: ./mvnw --batch-mode clean package - - - name: Build Complete with Gradle - working-directory: ./complete - run: ./gradlew build + uses: spring-guides/getting-started-macros/.github/workflows/build_initial_complete_maven_gradle.yml@main