From a52faccd5186451607512f08da2ba135de8ff080 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Tue, 22 Apr 2025 14:48:51 -0400 Subject: [PATCH] Revert "Remove release artifact verificaiton temporarily" This reverts commit 2eafe4dcb25fb2aa63100dcc84a7414a6b34ef4b. --- .github/workflows/verify-staged-artifacts.yml | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify-staged-artifacts.yml b/.github/workflows/verify-staged-artifacts.yml index 1f6a1d1a..c3d36136 100644 --- a/.github/workflows/verify-staged-artifacts.yml +++ b/.github/workflows/verify-staged-artifacts.yml @@ -28,4 +28,28 @@ jobs: uses: spring-io/spring-gradle-build-action@v2 - name: Prepare Spring Integration project against Staging - run: exit 0 + run: | + printf "allprojects { + repositories { + maven { + url 'https://repo.spring.io/libs-staging-local' + credentials { + username = '$ARTIFACTORY_USERNAME' + password = '$ARTIFACTORY_PASSWORD' + } + } + } + }" > staging-repo-init.gradle + + sed -i "1,/springKafkaVersion.*/s/springKafkaVersion.*/springKafkaVersion='${{ inputs.releaseVersion }}'/" build.gradle + + - name: Verify Spring Integration Kafka module against staged release + run: gradle :spring-integration-kafka:check --init-script staging-repo-init.gradle + + - name: Capture Test Results + if: failure() + uses: actions/upload-artifact@v4 + with: + name: test-results + path: '**/target/surefire-reports/**/*.*' + retention-days: 1 \ No newline at end of file