File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,24 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
17- - name : Set up JDK 11
18- uses : actions/setup-java@v2
19- with :
20- java-version : ' 11'
21- distribution : ' adopt'
22- - name : Build with Maven
23- run : mvn -B package --file pom.xml
16+ - uses : actions/checkout@v2
17+ - name : Set up JDK 11
18+ uses : actions/setup-java@v2
19+ with :
20+ java-version : ' 11'
21+ distribution : ' adopt'
22+ - name : Build with Maven
23+ run : mvn -B package --file pom.xml
24+
25+ - name : Generate Maven settings
26+ 27+ with :
28+ servers : |
29+ [{
30+ "id": "ossrh",
31+ "username": "${{ secrets.CI_DEPLOY_USERNAME }}",
32+ "password": "${{ secrets.CI_DEPLOY_PASSWORD }}"
33+ }]
34+
35+ - name : Deploy Maven Snapshot
36+ run : mvn deploy -s /home/runner/.m2/settings.xml
You can’t perform that action at this time.
0 commit comments