File tree Expand file tree Collapse file tree 2 files changed +39
-8
lines changed
Expand file tree Collapse file tree 2 files changed +39
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on : [ push, workflow_dispatch ]
4+
5+ env :
6+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7+
8+ jobs :
9+ build :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - name : Set up JDK 1.8
17+ uses : actions/setup-java@v1
18+ with :
19+ java-version : 1.8
20+
21+ - name : Cache Maven packages
22+ uses : actions/cache@v2
23+ with :
24+ path : ~/.m2
25+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+ restore-keys : ${{ runner.os }}-m2
27+
28+ - name : Deploy
29+ run : mvn -f PacketWrapper/pom.xml verify
30+
31+ - name : Upload artifacts
32+ uses : actions/upload-artifact@v2
33+ with :
34+ name : plugin
35+ path : PacketWrapper/target/PacketWrapper.jar
Original file line number Diff line number Diff line change 22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
44 <modelVersion >4.0.0</modelVersion >
5- <groupId >com.comphenix.packetwrapper </groupId >
6- <artifactId >PacketWrapper</artifactId >
5+ <groupId >ru.progrm_jarvis.minecraft </groupId >
6+ <artifactId >PacketWrapper-BC </artifactId >
77 <version >1.16.4-R0.1-SNAPSHOT</version >
88
99 <name >PacketWrapper</name >
2828
2929 <distributionManagement >
3030 <repository >
31- <id >dmulloy2-repo </id >
32- <url >https://repo.dmulloy2.net/content/repositories/releases/ </url >
31+ <id >github-packages </id >
32+ <url >https://maven.pkg.github.com/JarvisCraft/PacketWrapper </url >
3333 </repository >
34- <snapshotRepository >
35- <id >dmulloy2-repo</id >
36- <url >https://repo.dmulloy2.net/content/repositories/snapshots/</url >
37- </snapshotRepository >
3834 </distributionManagement >
3935
4036 <dependencies >
You can’t perform that action at this time.
0 commit comments