File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 11
11
workflow_dispatch :
12
12
13
13
env :
14
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
14
+ GCHAT_WEBHOOK_URL : ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}
15
15
GRADLE_ENTERPRISE_CACHE_USER : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
16
16
GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
17
17
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
@@ -203,26 +203,12 @@ jobs:
203
203
--title "Spring Pulsar $VERSION" \
204
204
--generate-notes \
205
205
--notes-file $RELEASE_NOTES_FILE
206
- - name : Announce Release on Slack
207
- id : spring-pulsar-announcing
208
-
206
+ - name : Announce Release in Chat
207
+ uses : julb/action-post-googlechat-message@v1
208
+ if : env.GCHAT_WEBHOOK_URL
209
209
with :
210
- payload : |
211
- {
212
- "text": "spring-pulsar-announcing `${{ env.VERSION }}` is available now",
213
- "blocks": [
214
- {
215
- "type": "section",
216
- "text": {
217
- "type": "mrkdwn",
218
- "text": "spring-pulsar-announcing `${{ env.VERSION }}` is available now"
219
- }
220
- }
221
- ]
222
- }
223
- env :
224
- SLACK_WEBHOOK_URL : ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
225
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
210
+ message : " spring-pulsar-announcing `${{ env.VERSION }}`"
211
+ gchat_webhook_url : ${{ env.GCHAT_WEBHOOK_URL }}
226
212
- name : Update next snapshot version
227
213
run : |
228
214
echo "Updating $REPO@$VERSION to next snapshot version."
You can’t perform that action at this time.
0 commit comments