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 13:03:59 UTC

[camel-quarkus] branch 2.16.x updated: 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 2.16.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/2.16.x by this push:
     new c58441aeb0 Fixup Test also GITHUB_BASE_REF to checkout the right examples branch (#4775)
c58441aeb0 is described below

commit c58441aeb042bb7f49dc2f7f7b191a2aa54a09a0
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 \