File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths-ignore :
7+ - " **.md"
8+ - " renovate.json"
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up JDK 8
18+ uses : actions/setup-java@v4
19+ with :
20+ java-version : ' 8'
21+ distribution : ' adopt'
22+ server-id : azisaba
23+ - name : Build with Maven
24+ run : mvn -B package --file pom.xml
25+ - name : Prepare settings.xml
26+ run : |
27+ echo "<settings><servers><server><id>azisaba</id><username>${{ secrets.REPO_USERNAME }}</username><password>${{ secrets.REPO_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
28+ - name : Deploy
29+ run : mvn deploy
Original file line number Diff line number Diff line change 33
44 <groupId >net.azisaba</groupId >
55 <artifactId >KDStatusReloaded</artifactId >
6- <version >1.6.2 </version >
6+ <version >1.6.3 </version >
77
88 <name >${project.artifactId} </name >
99 <description >Record player kills and deaths</description >
150150 <scope >test</scope >
151151 </dependency >
152152 </dependencies >
153+
154+ <distributionManagement >
155+ <repository >
156+ <id >azisaba</id >
157+ <url >https://repo.azisaba.net/repository/maven-releases/</url >
158+ </repository >
159+ <snapshotRepository >
160+ <id >azisaba</id >
161+ <url >https://repo.azisaba.net/repository/maven-snapshots/</url >
162+ </snapshotRepository >
163+ </distributionManagement >
153164</project >
You can’t perform that action at this time.
0 commit comments