Skip to content

Commit b12e34e

Browse files
Create catlog-service.yml
1 parent 8a30a61 commit b12e34e

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/catlog-service.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Catlog Service
2+
3+
on:
4+
push:
5+
paths:
6+
- catlog-service/**
7+
branches:
8+
- 'main'
9+
pull_request:
10+
branches: [main]
11+
12+
jobs:
13+
build:
14+
name: Build
15+
runs-on: ubuntu-latest
16+
env:
17+
working-directory: ./catlog-service
18+
19+
defaults:
20+
run:
21+
working-directory: ${{ env.working-directory }}
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Setup Java 21
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: '21'
29+
distribution: 'temurin'
30+
cache: 'maven'
31+
32+
33+
34+
- name: Make Maven wrapper executable
35+
run: chmod +x mvnw
36+
37+
- name: Build with Maven
38+
run: ./mvnw -ntp verify

0 commit comments

Comments
 (0)