Skip to content

Commit 3c38fa5

Browse files
authored
#503: reduce carbon footprint (#561)
1 parent 3efd9fc commit 3c38fa5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
java-version: '11'
1515
- name: Build project with Maven
16-
run: mvn install
16+
run: mvn -B -ntp install

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
with:
1818
java-version: '11'
1919
- name: Build project with Maven
20-
run: mvn install
20+
run: mvn -B -ntp install
2121
- name: Sonarcloud analysis
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
25-
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=devonfw_devon4j
25+
run: mvn -B -ntp org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=devonfw_devon4j
2626
- name: Deploy to OSSRH nexus
2727
env:
2828
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
2929
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
30-
run: mvn --settings .mvn/settings.xml -DskipTests=true -Darchetype.test.skip=true -Dmaven.install.skip=true deploy
30+
run: mvn --settings .mvn/settings.xml -DskipTests=true -Darchetype.test.skip=true -Dmaven.install.skip=true -B -ntp deploy

0 commit comments

Comments
 (0)