File tree 2 files changed +46
-14
lines changed
com.developer.nefarious.zjoule.plugin 2 files changed +46
-14
lines changed Original file line number Diff line number Diff line change 1
- name : Build Test and Deploy
1
+ name : Build, Test and Deploy
2
2
3
3
on :
4
4
push
9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - name : Checkout code
13
- uses : actions/checkout@v3
14
-
15
- - name : Set up JDK 21
16
- uses : actions/setup-java@v4
17
- with :
18
- java-version : ' 21'
19
- distribution : ' temurin'
20
- cache : maven
21
-
22
- - name : Build with Maven Wrapper
23
- run : ./mvnw clean verify
12
+ - name : Checkout code
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Set up JDK 21
16
+ uses : actions/setup-java@v4
17
+ with :
18
+ java-version : ' 21'
19
+ distribution : ' temurin'
20
+ cache : maven
21
+
22
+ - name : Build with Maven Wrapper
23
+ run : ./mvnw clean verify
24
+
25
+ - name : Upload plugin update-site
26
+ uses : actions/upload-artifact@v3
27
+ with :
28
+ name : javadoc
29
+ path : com.developer.nefarious.zjoule.updatesite/target/repository/
30
+
31
+ documentation :
32
+ # needs: deploy
33
+ runs-on : ubuntu-latest
34
+ # if: github.ref == 'refs/heads/main'
35
+
36
+ steps :
37
+ - name : Checkout code
38
+ uses : actions/checkout@v3
39
+
40
+ - name : Set up JDK 21
41
+ uses : actions/setup-java@v4
42
+ with :
43
+ java-version : ' 21'
44
+ distribution : ' temurin'
45
+ cache : maven
46
+
47
+ - name : Generate Javadoc
48
+ run : |
49
+ ./mvnw javadoc:javadoc \
50
+ -pl com.developer.nefarious.zjoule.plugin
51
+
52
+ # - name: Upload JavaDoc
53
+ # uses: actions/upload-artifact@v3
54
+ # with:
55
+ # name: javadoc
56
+ # path: com.developer.nefarious.zjoule.plugin/target/reports/apidocs/
Original file line number Diff line number Diff line change 28
28
<configuration >
29
29
<doctitle >zJoule - Eclipse AI Assitant</doctitle >
30
30
<windowtitle >zJoule Documentation</windowtitle >
31
- <outputDirectory >${project.build.directory} /../../docs</outputDirectory >
32
31
<failOnError >false</failOnError >
33
32
</configuration >
34
33
</plugin >
You can’t perform that action at this time.
0 commit comments