From e45d415f6b85c6692d1fa63304ee6990c0cd5b44 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 13 Sep 2024 11:37:20 +0200 Subject: [PATCH] Use the branch version to compile the quickstarts (cherry picked from commit fa655d964612224861a4d7ce2c809e93f0927260) --- .github/workflows/ci-actions-incremental.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 4fc4e0f9d460a..405fef4ff2ae9 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -903,7 +903,12 @@ jobs: CAPTURE_BUILD_SCAN: true run: | git clone --depth=1 -b ${{ steps.get-quickstarts-branch.outputs.result }} https://github.com/quarkusio/quarkus-quickstarts.git && cd quarkus-quickstarts - export LANG=en_US && ./mvnw -e -B -fae --settings .github/mvn-settings.xml clean verify -DskipTests + if [ "${{ steps.get-quickstarts-branch.outputs.result }}" != "development" ]; then + QUARKUS_VERSION_ARGS="-Dquarkus.platform.version=${{ steps.get-quickstarts-branch.outputs.result }}.999-SNAPSHOT -Dquarkus.version=${{ steps.get-quickstarts-branch.outputs.result }}.999-SNAPSHOT" + else + QUARKUS_VERSION_ARGS="" + fi + export LANG=en_US && ./mvnw -e -B -fae --settings .github/mvn-settings.xml clean verify -DskipTests -Dquarkus.platform.group-id=io.quarkus $QUARKUS_VERSION_ARGS - name: Prepare build reports archive if: always() run: |