File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -95,11 +95,15 @@ jobs:
95
95
mkdir -p ~/.gradle
96
96
echo 'systemProp.user.name=spring-builds+github' >> ~/.gradle/gradle.properties
97
97
- name : Check samples project
98
+ env :
99
+ LOCAL_REPOSITORY_PATH : ${{ github.workspace }}/build/publications/repos
100
+ SAMPLES_INIT_SCRIPT : ${{ github.workspace }}/build/includeRepo/spring-security-ci.gradle
98
101
run : |
99
102
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
100
103
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
101
104
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
102
- ./gradlew checkSamples --stacktrace
105
+ ./gradlew publishMavenJavaPublicationToLocalRepository
106
+ ./gradlew checkSamples -PsamplesInitScript="$SAMPLES_INIT_SCRIPT" -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" --stacktrace
103
107
check_tangles :
104
108
name : Check for Package Tangles
105
109
needs : [ prerequisites ]
You can’t perform that action at this time.
0 commit comments