File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 2828 uses : spring-io/spring-gradle-build-action@v2
2929
3030 - name : Prepare Spring Integration project against Staging
31- run : exit 0
31+ run : |
32+ printf "allprojects {
33+ repositories {
34+ maven {
35+ url 'https://repo.spring.io/libs-staging-local'
36+ credentials {
37+ username = '$ARTIFACTORY_USERNAME'
38+ password = '$ARTIFACTORY_PASSWORD'
39+ }
40+ }
41+ }
42+ }" > staging-repo-init.gradle
43+
44+ sed -i "1,/springKafkaVersion.*/s/springKafkaVersion.*/springKafkaVersion='${{ inputs.releaseVersion }}'/" build.gradle
45+
46+ - name : Verify Spring Integration Kafka module against staged release
47+ run : gradle :spring-integration-kafka:check --init-script staging-repo-init.gradle
48+
49+ - name : Capture Test Results
50+ if : failure()
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : test-results
54+ path : ' **/target/surefire-reports/**/*.*'
55+ retention-days : 1
You can’t perform that action at this time.
0 commit comments