From b94a0ca6b3174f5420c8c04507a7e9c80e8759d3 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 7 Dec 2023 17:22:18 -0500 Subject: [PATCH] Clean up --- .github/workflows/verify-staged-artifacts.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify-staged-artifacts.yml b/.github/workflows/verify-staged-artifacts.yml index 08819fc820..063243d3d1 100644 --- a/.github/workflows/verify-staged-artifacts.yml +++ b/.github/workflows/verify-staged-artifacts.yml @@ -13,6 +13,7 @@ env: GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }} + GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} jobs: verify-staged-with-samples: @@ -35,11 +36,17 @@ jobs: run: | jf gradlec --repo-resolve libs-staging-local - echo 'allprojects { + printf "allprojects { repositories { - maven { url "https://repo.spring.io/libs-staging-local" } + maven { + url 'https://repo.spring.io/libs-staging-local' + credentials { + username 'spring-builds' + password '$GITHUB_TOKEN' + } + } } - }' > staging-repo-init.gradle + }" > staging-repo-init.gradle sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle