From 6a9632e2bacf7bd077730a935f3db96603cba4c6 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 7 Dec 2023 16:08:36 -0500 Subject: [PATCH] Use `jf` to run Gradle (for possible auth) --- .github/workflows/verify-staged-artifacts.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify-staged-artifacts.yml b/.github/workflows/verify-staged-artifacts.yml index ea029faf03..b8071dacbd 100644 --- a/.github/workflows/verify-staged-artifacts.yml +++ b/.github/workflows/verify-staged-artifacts.yml @@ -31,12 +31,14 @@ jobs: - uses: jfrog/setup-jfrog-cli@v3 - - name: Verify Spring Integration Samples against staged release + - name: Prepare Samples project against Staging run: | echo 'allprojects { repositories { maven { url "https://repo.spring.io/libs-staging-local" } } }' > staging-repo-init.gradle - sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle - gradle check --init-script staging-repo-init.gradle + sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle + + - name: Verify Spring Integration Samples against staged release + run: jf gradle check --init-script staging-repo-init.gradle