This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch 2.13.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/2.13.x by this push:
new 173d890 Avoid path issues by changing into project directory before
running the build
173d890 is described below
commit 173d890b48fd81acbd26c0ebe03e054921806bf3
Author: James Netherton <[email protected]>
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 abc8d3d..1d03b07 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
@@ -219,7 +222,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: |