Skip to content

Commit 7426015

Browse files
authored
Update CI build to use shared workflow (#62)
1 parent 1796e21 commit 7426015

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

Diff for: .github/workflows/continuous-integration-build.yml

+1-29
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,4 @@ on:
1010

1111
jobs:
1212
build:
13-
name: Build Main Branch
14-
runs-on: ubuntu-latest
15-
16-
steps:
17-
- name: Checkout source code
18-
uses: actions/checkout@v3
19-
20-
- name: Set up JDK 17
21-
uses: actions/setup-java@v3
22-
with:
23-
java-version: '17'
24-
distribution: 'temurin'
25-
cache: maven
26-
27-
- name: Build Initial with Maven
28-
working-directory: ./initial
29-
run: ./mvnw --batch-mode clean package
30-
31-
- name: Build Initial with Gradle
32-
working-directory: ./initial
33-
run: ./gradlew build
34-
35-
- name: Build Complete with Maven
36-
working-directory: ./complete
37-
run: ./mvnw --batch-mode clean package
38-
39-
- name: Build Complete with Gradle
40-
working-directory: ./complete
41-
run: ./gradlew build
13+
uses: spring-guides/getting-started-macros/.github/workflows/build_initial_complete_maven_gradle.yml@main

0 commit comments

Comments
 (0)