File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sonatype for 4.x snapshot
2+
3+ on :
4+ push :
5+ branches :
6+ - 4.0.x.dev
7+
8+ permissions : read-all
9+
10+ jobs :
11+ build :
12+ if : github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up JDK
17+ uses : actions/setup-java@v4
18+ with :
19+ cache : maven
20+ distribution : temurin
21+ java-version : 21
22+ - name : Deploy to Sonatype
23+ run : ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true -Denforcer.skip=true
24+ env :
25+ CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
26+ CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments