File tree Expand file tree Collapse file tree 2 files changed +25
-10
lines changed
Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change 1010 steps :
1111 - name : Checkout Latest Commit
1212 uses : actions/checkout@v4.2.2
13- - name : Grant execute permission for gradlew
14- run : chmod +x gradlew
1513 - name : Bump Version
1614 id : bump
1715 uses : Plugily-Projects/version-bump-action@v10
@@ -34,10 +32,23 @@ jobs:
3432 distribution : ' temurin'
3533 java-version : ' 21'
3634 java-package : jdk
37- - name : Grant execute permission for gradlew
38- run : chmod +x gradlew
39- - name : Publish with Gradle
40- run : ./gradlew publishMavenPublicationToSnapshotsRepository --info
41- env :
42- MAVEN_USERNAME : ${{ secrets.SNAPSHOTSUSERNAME }}
43- MAVEN_PASSWORD : ${{ secrets.SNAPSHOTSPASSWORD }}
35+ - name : Set up Maven
36+ uses : stCarolas/setup-maven@v5
37+ with :
38+ maven-version : 3.8.2
39+ - name : Cache
40+ uses : actions/cache@v4.2.2
41+ with :
42+ path : ~/.m2/repository
43+ key : maven-${{ hashFiles('**/pom.xml') }}
44+ restore-keys : maven-
45+ - name : Publish with Maven
46+ uses : s4u/maven-settings-action@v3.1.0
47+ with :
48+ servers : |
49+ [{
50+ "id": "Snapshot",
51+ "username": "${{ secrets.SNAPSHOTSUSERNAME }}",
52+ "password": "${{ secrets.SNAPSHOTSPASSWORD }}"
53+ }]
54+ - run : mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -f pom.xml
Original file line number Diff line number Diff line change 153153
154154 <distributionManagement >
155155 <repository >
156- <id >plugily-projects </id >
156+ <id >Release </id >
157157 <url >https://maven.plugily.xyz/releases</url >
158158 </repository >
159+ <snapshotRepository >
160+ <id >Snapshot</id >
161+ <url >https://maven.plugily.xyz/snapshots</url >
162+ </snapshotRepository >
159163 </distributionManagement >
160164</project >
You can’t perform that action at this time.
0 commit comments