Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit b50bd3b

Browse files
committed
ci: update Maven build commands in GitHub Actions workflows
- In build-and-run-example-project.yml: - Modify 'Build and Install' step to use 'mvn install -DskipTests=true' - This change ensures tests are skipped and improves build efficiency - In maven.yml: - Update 'Build with Maven' step to include '-DskipTests=true' - This change consistently skips tests across both workflows
1 parent 515e1d3 commit b50bd3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-run-example-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Build and Install
9999
run: |
100-
mvn -DskipTests=true install 2>&1 | tee logs/install-plugin.log
100+
mvn install -DskipTests=true 2>&1 | tee logs/install-plugin.log
101101
if grep -E "\[ERROR\]" logs/install-plugin.log; then
102102
cat logs/install-plugin.log
103103
exit 1

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
reporter: github-pr-review
3535
level: warning
3636
- name: Build with Maven
37-
run: mvn -B package --file pom.xml
37+
run: mvn -DskipTests=true -B package --file pom.xml
3838

0 commit comments

Comments
 (0)