Skip to content

Commit 3fe676e

Browse files
committed
[actions] Skip run of license plugin as unnecessary on actions builds and noising during shallow clones
1 parent 0aca7bb commit 3fe676e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
with:
3737
java-version: ${{ matrix.java }}
3838
- name: Test with Maven
39-
run: ./mvnw test -B
39+
run: ./mvnw test -B -Dlicense.skip=true

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
java-version: 11
3737
- name: Analyze with SonarCloud
38-
run: ./mvnw verify sonar:sonar -B -Dsonar.projectKey=mybatis_mybatis-3 -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
38+
run: ./mvnw verify sonar:sonar -B -Dsonar.projectKey=mybatis_mybatis-3 -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/sonatype.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
java-version: 11
3434
- name: Deploy to Sonatype
35-
run: ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml
35+
run: ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml -Dlicense.skip=true
3636
env:
3737
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
3838
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)