File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 39
39
required : false
40
40
GH_ACTIONS_REPO_TOKEN :
41
41
required : true
42
+ SPRING_RELEASE_GCHAT_WEBHOOK_URL :
43
+ required : true
42
44
43
45
env :
44
46
GRADLE_ENTERPRISE_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
@@ -112,7 +114,13 @@ jobs:
112
114
env :
113
115
VERSION : ${{ steps.project-version.outputs.version }}
114
116
run : ./gradlew closeMilestone -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN
115
- # TODO: Add integration with GChat for #spring-release channel.
117
+ - name : Announce Release on GChat
118
+ env :
119
+ VERSION : ${{ steps.project-version.outputs.version }}
120
+ ANNOUNCING_ID : ${{ inputs.slack-announcing-id }}
121
+ WEBHOOK_URL : ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}
122
+ run : |
123
+ curl -X POST '$WEBHOOK_URL' -H 'Content-Type: application/json' -d '{ text: "$ANNOUNCING_ID `$VERSION` is available now" }' || true
116
124
next-development-version :
117
125
name : Next Development Version
118
126
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments