File tree Expand file tree Collapse file tree 6 files changed +7
-115
lines changed Expand file tree Collapse file tree 6 files changed +7
-115
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ name: Java CI
18
18
19
19
on :
20
20
push :
21
- branches-ignore :
22
- - ' compatibility-check-spring6'
23
21
pull_request :
24
22
25
23
jobs :
42
40
java-version : ${{ matrix.java }}
43
41
distribution : ${{ matrix.distribution }}
44
42
- name : Test with Maven
45
- run : ./mvnw test -B -D"license.skip=true"
43
+ run : ./mvnw test -B -D"license.skip=true" -D"enforcer.skip=true"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ name: Coveralls
18
18
19
19
on :
20
20
push :
21
- branches-ignore :
22
- - ' compatibility-check-spring6'
23
21
pull_request :
24
22
25
23
jobs :
@@ -35,12 +33,12 @@ jobs:
35
33
distribution : zulu
36
34
- name : Report Coverage to Coveralls for Pull Requests
37
35
if : github.event_name == 'pull_request'
38
- run : ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
36
+ run : ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -Denforcer.skip=true - DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
39
37
env :
40
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
39
PR_NUMBER : ${{ github.event.number }}
42
40
- name : Report Coverage to Coveralls for General Push
43
41
if : github.event_name == 'push'
44
- run : ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github
42
+ run : ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -Denforcer.skip=true - DrepoToken=$GITHUB_TOKEN -DserviceName=github
45
43
env :
46
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ name: SonarCloud
19
19
on :
20
20
push :
21
21
branches :
22
- - master
22
+ - 3.x
23
23
24
24
jobs :
25
25
build :
36
36
java-version : 17
37
37
distribution : zulu
38
38
- name : Analyze with SonarCloud
39
- run : ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_spring -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true
39
+ run : ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_spring -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true -Denforcer.skip=true
40
40
env :
41
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
42
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ name: Sonatype
19
19
on :
20
20
push :
21
21
branches :
22
- - master
22
+ - 3.x
23
23
24
24
jobs :
25
25
build :
33
33
java-version : 17
34
34
distribution : zulu
35
35
- name : Deploy to Sonatype
36
- run : ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml -Dlicense.skip=true
36
+ run : ./mvnw deploy -DskipTests -Denforcer.skip=true - B --settings ./.mvn/settings.xml -Dlicense.skip=true
37
37
env :
38
38
CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
39
39
CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments