Skip to content

Commit

Permalink
Make build run on my fork
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed May 1, 2024
1 parent d4d92d0 commit 9bd2a80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ env:

jobs:
pre-build-checks:
if: github.repository == 'apache/camel-quarkus'
if: github.repository == 'jamesnetherton/camel-quarkus'
runs-on: ubuntu-latest
outputs:
continue-build: ${{ steps.pre-build-checks.outputs.continue-build }}
Expand Down Expand Up @@ -562,15 +562,15 @@ jobs:
EXAMPLE_MODULES: ${{matrix.examples}}
shell: '/usr/bin/bash {0}'
run: |
EXAMPLES_BRANCH="camel-quarkus-main"
EXAMPLES_BRANCH="test-report"
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 \
git clone --depth 1 --branch ${EXAMPLES_BRANCH} https://github.com/jamesnetherton/camel-quarkus-examples.git \
&& cd camel-quarkus-examples \
&& echo "Current Examples commit:" $(git rev-parse HEAD) \
&& ./mvnw ${CQ_MAVEN_ARGS} ${BRANCH_OPTIONS} org.l2x6.cq:cq-maven-plugin:2.10.0:examples-set-platform -Dcq.camel-quarkus.version=${CQ_VERSION}
Expand Down

0 comments on commit 9bd2a80

Please sign in to comment.