You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zb...@apache.org on 2023/08/31 14:51:26 UTC
[camel-quarkus-examples] 02/24: Avoid path issues by changing into project directory before running the build
This is an automated email from the ASF dual-hosted git repository.
zbendhiba pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
commit 2776ff716869a75310d3d10f6fb3d037c5cae1be
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Jun 7 09:23:03 2023 +0100
Avoid path issues by changing into project directory before running the build
---
.github/workflows/ci-build.yaml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index ccc20ac..211c869 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -134,14 +134,17 @@ jobs:
BUILD_FAILURES=()
for MODULE in ${TEST_MODULES//,/ }; do
- ./mvnw ${MAVEN_ARGS} clean verify \
+ cd ${MODULE}
+
+ ../mvnw ${MAVEN_ARGS} clean verify \
-Dformatter.skip -Dimpsort.skip \
- -Pnative,docker \
- -f "${MODULE}/pom.xml"
+ -Pnative,docker
if [[ $? -ne 0 ]]; then
BUILD_FAILURES[${#BUILD_FAILURES[@]}]=${MODULE}
fi
+
+ cd -
done
if [[ ${#BUILD_FAILURES[@]} -gt 0 ]]; then
@@ -185,7 +188,7 @@ jobs:
- name: Integration Tests
shell: bash
run: |
- ./mvnw-for-each.sh ${MAVEN_ARGS} -Dskip-testcontainers-tests clean verify
+ ./mvnw-for-each.sh ${MAVEN_ARGS} -Dskip-testcontainers-tests clean verify
- name: Fail if there are uncommitted changes
shell: bash
run: |