File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
1113 steps :
1214 - uses : actions/checkout@v4
1315 with :
2123 cache : ' maven'
2224
2325 - name : Build with Maven
24- run : mvn -B clean package -DskipTests
26+ run : |
27+ mvn -B clean package -DskipTests
28+ mvn -B javadoc:javadoc
29+ mvn -B source:jar
2530
2631 - name : Create Release
2732 uses : softprops/action-gh-release@v1
3439 target/woocommerce-api-client-0.9.0.jar
3540 target/woocommerce-api-client-0.9.0-sources.jar
3641 target/woocommerce-api-client-0.9.0-javadoc.jar
42+ target/site/apidocs/**
3743 env :
3844 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 129129 <groupId >org.apache.maven.plugins</groupId >
130130 <artifactId >maven-javadoc-plugin</artifactId >
131131 <version >3.6.3</version >
132+ <configuration >
133+ <doclint >none</doclint >
134+ <failOnError >false</failOnError >
135+ </configuration >
132136 <executions >
133137 <execution >
134138 <id >attach-javadocs</id >
160164 </executions >
161165 </plugin >
162166
163- <plugin >
164- <groupId >org.apache.maven.plugins</groupId >
165- <artifactId >maven-deploy-plugin</artifactId >
166- <version >3.1.2</version >
167- <configuration >
168- <skip >true</skip >
169- </configuration >
170- </plugin >
171-
172167 </plugins >
173168 </build >
174169
You can’t perform that action at this time.
0 commit comments