You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/04/14 10:24:19 UTC

[camel-quarkus] 01/01: Fixup Test also GITHUB_BASE_REF to checkout the right examples branch (#4775)

This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch fix-examples-branch-2.16.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit c1542cb9e751a0821b993c97cc88ec6195a49d9c
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Apr 14 02:34:11 2023 +0200

    Fixup Test also GITHUB_BASE_REF to checkout the right examples branch (#4775)
---
 .github/workflows/ci-build.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index ab0b5cba7f..035799f65f 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -438,6 +438,8 @@ jobs:
 
           if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x ]]; then
               EXAMPLES_BRANCH=${GITHUB_REF_NAME}
+          elif [[ ${GITHUB_BASE_REF} =~ [0-9]+.[0-9]+.x ]]; then
+              EXAMPLES_BRANCH=${GITHUB_BASE_REF}
           fi
 
           git clone --depth 1 --branch ${EXAMPLES_BRANCH} https://github.com/apache/camel-quarkus-examples.git \