-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 715 Bytes
/
Copy pathmain.yml
File metadata and controls
32 lines (27 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Java build with Maven
on:
push:
branches: ["main"]
paths:
- "analytics-service/**"
- "api-gateway/**"
- "auth-service/**"
- "billing-service/**"
- "patient-service/**"
- "integration-tests/**"
jobs:
# name of the job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up jdk-21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build the application
run: mvn -B package --file pom.xml
- name: Build the dependency graph
uses: advanced-security/maven-dependency-submission-action@v4