Skip to content

Commit 6a9632e

Browse files
committed
Use jf to run Gradle (for possible auth)
1 parent 9e8f395 commit 6a9632e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/verify-staged-artifacts.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ jobs:
3131

3232
- uses: jfrog/setup-jfrog-cli@v3
3333

34-
- name: Verify Spring Integration Samples against staged release
34+
- name: Prepare Samples project against Staging
3535
run: |
3636
echo 'allprojects {
3737
repositories {
3838
maven { url "https://repo.spring.io/libs-staging-local" }
3939
}
4040
}' > staging-repo-init.gradle
41-
sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle
42-
gradle check --init-script staging-repo-init.gradle
41+
sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle
42+
43+
- name: Verify Spring Integration Samples against staged release
44+
run: jf gradle check --init-script staging-repo-init.gradle

0 commit comments

Comments
 (0)