Skip to content

Commit d6e2412

Browse files
committed
chore: Adding a GH Actions build for spring-boot-order-service-devtools
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 730d125 commit d6e2412

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/build-package.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,33 @@ jobs:
117117
--provenance=false \
118118
--build-arg TAG=02 \
119119
--file Dockerfile-02 \
120-
--tag=quay.io/microcks/contract-testing-demo-async:02 .
120+
--tag=quay.io/microcks/contract-testing-demo-async:02 .
121+
122+
build-package-shift-left-demo-sb:
123+
runs-on: ubuntu-latest
124+
environment: Build
125+
steps:
126+
# Checkout repository content
127+
- name: Checkout
128+
uses: actions/checkout@v3
129+
130+
- name: Filter shift-left-demo-sb
131+
uses: dorny/paths-filter@v2
132+
id: changes
133+
with:
134+
filters: |
135+
shift-left-demo-sb:
136+
- 'shift-left-demo/spring-boot-order-service-devtools/**'
137+
138+
- name: Set up JDK 17 for x64
139+
uses: actions/setup-java@v3
140+
with:
141+
java-version: '17'
142+
distribution: 'temurin'
143+
architecture: x64
144+
cache: maven
145+
146+
- name: Build Java components
147+
run: |
148+
cd spring-boot-order-service-devtools
149+
mvn -B clean package

0 commit comments

Comments
 (0)