File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 13
13
GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
14
14
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
15
15
JF_ENV_SPRING : ${{ secrets.JF_ARTIFACTORY_SPRING }}
16
+ GITHUB_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
16
17
17
18
jobs :
18
19
verify-staged-with-samples :
@@ -35,11 +36,17 @@ jobs:
35
36
run : |
36
37
jf gradlec --repo-resolve libs-staging-local
37
38
38
- echo ' allprojects {
39
+ printf " allprojects {
39
40
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
+ }
41
48
}
42
- }' > staging-repo-init.gradle
49
+ }" > staging-repo-init.gradle
43
50
44
51
sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle
45
52
You can’t perform that action at this time.
0 commit comments