File tree Expand file tree Collapse file tree 1 file changed +18
-11
lines changed
Expand file tree Collapse file tree 1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 build :
19-
2019 runs-on : ubuntu-latest
21-
2220 steps :
23- - uses : actions/checkout@v4
24- - name : Set up JDK 17
25- uses : actions/setup-java@v4
26- with :
27- java-version : ' 17'
28- distribution : ' temurin'
29- cache : maven
30- - name : Build with Maven
31- run : mvn -B package --file pom.xml
21+ - uses : actions/checkout@v4
22+
23+ - name : Set up JDK 17
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ' 17'
27+ distribution : ' temurin'
28+ cache : maven
29+
30+ - name : Build with Maven
31+ working-directory : OtmTodoApp-master/OtmTodoApp-master
32+ run : mvn -B clean test jacoco:report package
33+
34+ # Optional: dependency graph (use directory, not working-directory)
35+ - name : Update dependency graph
36+ uses : advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
37+ with :
38+ directory : OtmTodoApp-master/OtmTodoApp-master
3239
3340 # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3441 - name : Update dependency graph
You can’t perform that action at this time.
0 commit comments