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 @@ -95,11 +95,15 @@ jobs:
9595 mkdir -p ~/.gradle
9696 echo 'systemProp.user.name=spring-builds+github' >> ~/.gradle/gradle.properties
9797 - 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
98101 run : |
99102 export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
100103 export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
101104 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
103107 check_tangles :
104108 name : Check for Package Tangles
105109 needs : [ prerequisites ]
You can’t perform that action at this time.
0 commit comments