This repository was archived by the owner on Jul 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-63
lines changed
Expand file tree Collapse file tree 2 files changed +3
-63
lines changed Original file line number Diff line number Diff line change 1919 - name : 📦 Build with Maven
2020 run : mvn -B package --file pom.xml
2121
22- - name : 📦 Upload artifact
23- uses : actions/upload-artifact@v2
24- with :
25- name : simplehttpserver
26- path : |
27- **/target/pom.xml
28- **/target/*.jar
29- **/target/*.md5
30- **/target/*.sha1
31-
3222 - name : 🚀 Deploy to Releases
33233424 with :
Original file line number Diff line number Diff line change 2020
2121 <distributionManagement >
2222 <repository >
23- <id >github</id >
24- <name >GitHub Ktt-Development Apache Maven Packages</name >
25- <url >https://maven.pkg.github.com/Ktt-Development/${project.artifactId} </url >
23+ <id >github</id >
24+ <name >GitHub Ktt-Development Apache Maven Packages</name >
25+ <url >https://maven.pkg.github.com/Ktt-Development/${project.artifactId} </url >
2626 </repository >
2727 </distributionManagement >
2828
8787 </configuration >
8888 </plugin >
8989
90- <!-- copy resources to target -->
91- <plugin >
92- <groupId >org.apache.maven.plugins</groupId >
93- <artifactId >maven-resources-plugin</artifactId >
94- <version >3.2.0</version >
95- <configuration >
96- <outputDirectory >${project.build.directory} </outputDirectory >
97- </configuration >
98- <executions >
99- <execution >
100- <phase >package</phase >
101- </execution >
102- </executions >
103- </plugin >
104-
105- <!-- generate checksums in target -->
106- <plugin >
107- <groupId >net.ju-n.maven.plugins</groupId >
108- <artifactId >checksum-maven-plugin</artifactId >
109- <version >1.4</version >
110- <configuration >
111- <fileSets >
112- <fileSet >
113- <directory >${project.build.directory} </directory >
114- <includes >
115- <include >*.jar</include >
116- <include >pom.xml</include >
117- </includes >
118- </fileSet >
119- </fileSets >
120- </configuration >
121- <executions >
122- <execution >
123- <phase >package</phase >
124- <goals >
125- <goal >files</goal >
126- </goals >
127- </execution >
128- </executions >
129- </plugin >
130-
13190 <!-- tests -->
13291 <plugin >
13392 <groupId >org.apache.maven.plugins</groupId >
14099 </configuration >
141100 </plugin >
142101 </plugins >
143- <!-- copy resources to target -->
144- <resources >
145- <resource >
146- <directory >${project.basedir} </directory >
147- <includes >
148- <include >pom.xml</include >
149- </includes >
150- </resource >
151- </resources >
152102 </build >
153103
154104 <repositories >
You can’t perform that action at this time.
0 commit comments