@@ -74,51 +74,10 @@ jobs:
74
74
run-name : ${{ format('{0} | Linux | Java 17', github.ref_name) }}
75
75
outputs :
76
76
version : ${{ steps.read-version.outputs.version }}
77
- run-verification-tests :
78
- name : Verify ${{ needs.build-and-deploy-snapshot.outputs.version }}
79
- runs-on : ubuntu-latest
77
+ verify :
78
+ name : Verify
80
79
needs : build-and-deploy-snapshot
81
- steps :
82
- - name : Check Out Release Verification Tests
83
- uses : actions/checkout@v4
84
- with :
85
- repository : spring-projects/spring-boot-release-verification
86
- ref : ' main'
87
- token : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
88
- - name : Check Out Send Notification Action
89
- uses : actions/checkout@v4
90
- with :
91
- path : spring-boot
92
- sparse-checkout : .github/actions/send-notification
93
- - name : Set Up Java
94
- uses : actions/setup-java@v4
95
- with :
96
- distribution : ' liberica'
97
- java-version : 17
98
- - name : Set Up Gradle
99
- uses : gradle/actions/setup-gradle@1168cd3d07c1876a65e1724114de42ccbdfa7b78
100
- with :
101
- cache-read-only : false
102
- - name : Configure Gradle Properties
103
- shell : bash
104
- run : |
105
- mkdir -p $HOME/.gradle
106
- echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties
107
- - name : Run Release Verification Tests
108
- env :
109
- RVT_VERSION : ${{ needs.build-and-deploy-snapshot.outputs.version }}
110
- RVT_RELEASE_TYPE : oss
111
- run : ./gradlew spring-boot-release-verification-tests:test
112
- - name : Upload Build Reports on Failure
113
- uses : actions/upload-artifact@v4
114
- if : failure()
115
- with :
116
- name : build-reports
117
- path : ' **/build/reports/'
118
- - name : Send Notification
119
- uses : ./spring-boot/.github/actions/send-notification
120
- if : always()
121
- with :
122
- webhook-url : ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
123
- status : ${{ job.status }}
124
- run-name : ${{ format('{0} | Verification | {1}', github.ref_name, needs.build-and-deploy-snapshot.outputs.version) }}
80
+ uses : .github/workflows/verify.yml
81
+ secrets : inherit
82
+ with :
83
+ version : ${{ needs.build-and-deploy-snapshot.outputs.version }}
0 commit comments