Skip to content

Commit 92f0032

Browse files
committed
Support to publish Spring Boot MyBatis 4.0.0-SNAPSHOT
1 parent 9698adf commit 92f0032

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 }}

0 commit comments

Comments
 (0)