File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+ name : Java CI with Maven
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ show-progress : false
21+ # needed for the git-commit-id-plugin to work
22+ fetch-depth : 0
23+ - name : Set up JDK 11
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ' 11'
27+ distribution : ' temurin'
28+ cache : maven
29+ - name : Maven verify
30+ run : mvn verify
You can’t perform that action at this time.
0 commit comments