This is an automated email from the ASF dual-hosted git repository.
zhfeng pushed a commit to branch 2.13.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/2.13.x by this push:
new b89bcca36a Fixup Test also GITHUB_BASE_REF to checkout the right
examples branch (#4775)
b89bcca36a is described below
commit b89bcca36a4b19417be1d703970eae0e66982ba5
Author: Peter Palaga <[email protected]>
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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 4c850a9e58..5d505df8c2 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -436,8 +436,10 @@ jobs:
run: |
EXAMPLES_BRANCH="camel-quarkus-main"
- if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x || ${GITHUB_BASE_REF} =~
[0-9]+.[0-9]+.x ]]; then
+ 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 \