File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 64
64
- name : Execute run script
65
65
run : earthly --secret OWASP_NVD_API_KEY +run-with-gradle
66
66
67
+ # Save artifacts for build
68
+ # See Earthfile that copies these from container to local
69
+
70
+ # Javadoc HTML and jars
71
+
72
+ - name : Save Javadoc HTML for main
73
+ uses : actions/upload-artifact@v4
74
+ with :
75
+ name : javadoc-html-main
76
+ if-no-files-found : error
77
+ path : build/docs/reports/javadoc/test/
78
+
79
+ - name : Save Javadoc HTML Jar for main
80
+ uses : actions/upload-artifact@v4
81
+ with :
82
+ name : javadoc-jar-main
83
+ if-no-files-found : error
84
+ path : build/libs/modern-java-practices-0-SNAPSHOT-javadoc.jar
85
+
86
+ # Generate coverage report
87
+
67
88
- name : Save coverage report
68
89
uses : actions/upload-artifact@v4
69
90
with :
Original file line number Diff line number Diff line change 28
28
# These ignores are specific to this project
29
29
- ' run-with-gradle.sh'
30
30
- ' .github/workflows/*gradle*'
31
- workflow_dispatch :
32
31
33
32
jobs :
34
33
build :
64
63
- name : Execute run script
65
64
run : earthly --secret OWASP_NVD_API_KEY +run-with-maven
66
65
67
- # Save artifacts for build
66
+ # Save artifacts for build
68
67
# See Earthfile that copies these from container to local
69
68
70
69
# Javadoc HTML and jars
97
96
if-no-files-found : error
98
97
path : target/modern-java-practices-0-SNAPSHOT-test-javadoc.jar
99
98
100
- # Coverage badge report
99
+ # Coverage coverage report
101
100
102
101
- name : Save coverage report
103
102
uses : actions/upload-artifact@v4
@@ -106,7 +105,7 @@ jobs:
106
105
if-no-files-found : error
107
106
path : target/site/jacoco/
108
107
109
- # Generage coverage badge for README
108
+ # Generate coverage badge for README
110
109
# Gradle builds are similar but will require configuration the path for the
111
110
# CSV JaCoCo report.
112
111
You can’t perform that action at this time.
0 commit comments