Skip to content

Commit da7fc8e

Browse files
committed
refactor: change javadoc target directory
1 parent a312cb1 commit da7fc8e

File tree

2 files changed

+46
-14
lines changed

2 files changed

+46
-14
lines changed

.github/workflows/main.yaml

Lines changed: 46 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Test and Deploy
1+
name: Build, Test and Deploy
22

33
on:
44
push
@@ -9,15 +9,48 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
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/

com.developer.nefarious.zjoule.plugin/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<configuration>
2929
<doctitle>zJoule - Eclipse AI Assitant</doctitle>
3030
<windowtitle>zJoule Documentation</windowtitle>
31-
<outputDirectory>${project.build.directory}/../../docs</outputDirectory>
3231
<failOnError>false</failOnError>
3332
</configuration>
3433
</plugin>

0 commit comments

Comments
 (0)