Skip to content

Commit b94a0ca

Browse files
committed
Clean up
1 parent 5bf94c6 commit b94a0ca

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
1414
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
1515
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
16+
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
1617

1718
jobs:
1819
verify-staged-with-samples:
@@ -35,11 +36,17 @@ jobs:
3536
run: |
3637
jf gradlec --repo-resolve libs-staging-local
3738
38-
echo 'allprojects {
39+
printf "allprojects {
3940
repositories {
40-
maven { url "https://repo.spring.io/libs-staging-local" }
41+
maven {
42+
url 'https://repo.spring.io/libs-staging-local'
43+
credentials {
44+
username 'spring-builds'
45+
password '$GITHUB_TOKEN'
46+
}
47+
}
4148
}
42-
}' > staging-repo-init.gradle
49+
}" > staging-repo-init.gradle
4350
4451
sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle
4552

0 commit comments

Comments
 (0)