File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Upload to PNX Repo
2+ on :
3+ push :
4+ branches :
5+ - master
6+ workflow_dispatch :
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Set up JDK
17+ uses : actions/setup-java@v4
18+ with :
19+ distribution : temurin
20+ java-version : 21
21+
22+ - name : Configure Maven settings
23+ uses : s4u/maven-settings-action@v4.0.0
24+ with :
25+ servers : |
26+ [{ "id": "pnx-repo", "username": "${{ secrets.PNX_REPO_USERNAME }}", "password": "${{ secrets.PNX_REPO_PASSWORD }}" }]
27+
28+ - name : Deploy to PNX Repo
29+ run : |
30+ mvn deploy
Original file line number Diff line number Diff line change 7474 </plugins >
7575 </build >
7676
77+ <distributionManagement >
78+ <repository >
79+ <id >pnx-repo</id >
80+ <url >https://repo.powernukkitx.org/releases</url >
81+ </repository >
82+ </distributionManagement >
83+
7784 <dependencies >
7885 <dependency >
7986 <groupId >org.projectlombok</groupId >
You can’t perform that action at this time.
0 commit comments