You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2023/04/14 00:35:13 UTC
[camel-quarkus] branch main updated: Test also GITHUB_BASE_REF to checkout the right examples branch (#4776)
This is an automated email from the ASF dual-hosted git repository.
zhfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 91ee9787bc Test also GITHUB_BASE_REF to checkout the right examples branch (#4776)
91ee9787bc is described below
commit 91ee9787bcb385d0a07c6bb29626f08766ec36f8
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Apr 14 02:35:06 2023 +0200
Test also GITHUB_BASE_REF to checkout the right examples branch (#4776)
---
.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 e48ea0f4f4..d2f24ef80c 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -467,6 +467,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 \