File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI with Maven
2+
3+ on :
4+ push :
5+ branches : " *"
6+ pull_request :
7+ branches : " *"
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up Node 22
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 22.x'
20+ - name : Set up JDK 21
21+ uses : actions/setup-java@v4
22+ with :
23+ java-version : ' 21'
24+ distribution : ' temurin'
25+ cache : maven
26+ - name : Build with Maven
27+ run : mvn -B package --file pom.xml
28+
29+ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
30+ - name : Update dependency graph
31+ uses : advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
You can’t perform that action at this time.
0 commit comments