File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,15 @@ jobs:
111
111
env :
112
112
GRADLE_USER_HOME : ~/.gradle
113
113
- name : Check samples project
114
+ env :
115
+ LOCAL_REPOSITORY_PATH : ${{ github.workspace }}/build/publications/repos
116
+ SAMPLES_INIT_SCRIPT : ${{ github.workspace }}/build/includeRepo/spring-security-ci.gradle
114
117
run : |
115
118
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
116
119
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
117
120
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
118
- ./gradlew checkSamples --stacktrace
121
+ ./gradlew publishMavenJavaPublicationToLocalRepository
122
+ ./gradlew checkSamples -PsamplesInitScript="$SAMPLES_INIT_SCRIPT" -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" --stacktrace
119
123
check_tangles :
120
124
name : Check for Package Tangles
121
125
needs : [ prerequisites ]
You can’t perform that action at this time.
0 commit comments