From ef325fd2f559654b11a00df0e3b7fe686d84a880 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Thu, 6 Jul 2023 07:15:19 +0100 Subject: [PATCH] Build Camel on the nightly build instead of relying on the SNAPSHOT repo --- .github/workflows/camel-master-cron.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml index f39d7d3b10ac..f1392fb44425 100644 --- a/.github/workflows/camel-master-cron.yaml +++ b/.github/workflows/camel-master-cron.yaml @@ -63,6 +63,13 @@ jobs: git fetch origin main git rebase origin/main git rev-parse origin/main > ~/build-data/main-sha.txt + - name: Build Camel + run: | + cd ../ + git clone --depth 1 --branch main https://github.com/apache/camel.git \ + && cd camel \ + && echo "Current Camel commit:" $(git rev-parse HEAD) \ + && ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly - name: mvn clean install -DskipTests run: | eval ./mvnw ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} clean install -DskipTests -Dquarkus.build.skip