Skip to content

Commit 2e5a08d

Browse files
committed
Updated content-service.yml to build content service and added mvn install
1 parent 1951889 commit 2e5a08d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/content-service.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v2
15+
16+
- name: Set up JDK 11 and Maven
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: 'temurin'
20+
java-version: '11'
21+
cache: 'maven'
1522

1623
- name: Determine registry and login
1724
run: |
@@ -37,6 +44,9 @@ jobs:
3744
3845
echo "REGISTRY_URL=${REGISTRY_URL}" >> $GITHUB_ENV
3946
47+
- name: Build Content Service
48+
run: mvn clean package -f content-api/content-service/pom.xml
49+
4050
- name: Build Docker Image
4151
run: |
4252
IMAGE_NAME="content-service"

0 commit comments

Comments
 (0)