File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
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 8282 <version >1.3</version >
8383 </dependency >
8484 </dependencies >
85+
86+ <distributionManagement >
87+ <repository >
88+ <id >azisaba</id >
89+ <url >https://repo.azisaba.net/repository/maven-releases/</url >
90+ </repository >
91+ <snapshotRepository >
92+ <id >azisaba</id >
93+ <url >https://repo.azisaba.net/repository/maven-snapshots/</url >
94+ </snapshotRepository >
95+ </distributionManagement >
8596</project >
You can’t perform that action at this time.
0 commit comments