File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Publish to Central
1
+ name : Publish to Maven Central
2
2
on :
3
3
release :
4
4
types : [published]
33
33
MAVEN_PASSWORD : ${{ secrets.OSS_PASSWORD }}
34
34
MAVEN_GPG_PASSPHRASE : ${{ secrets.SIGNING_PASSWORD }}
35
35
run : mvn -e --no-transfer-progress --batch-mode deploy -P release-sign-artifacts
36
+ notify-release :
37
+ runs-on : ubuntu-latest
38
+ name : Notify Release
39
+ strategy :
40
+ matrix :
41
+ url : [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL]
42
+ steps :
43
+ - name : Send to Slack channels
44
+ uses : slackapi/slack-github-action@79ad3a9d89410e5b0d961a0e7422f18c62c81bfb
45
+ with :
46
+ webhook : ${{ secrets[matrix.url]}}
47
+ webhook-type : incoming-webhook
48
+ errors : true
49
+ payload : |
50
+ blocks:
51
+ - type: "header"
52
+ text:
53
+ type: "plain_text"
54
+ text: ":initial_external_notification_sent: Kotlin Server SDK ${{ github.event.release.name }} has been released."
55
+ - type: "section"
56
+ text:
57
+ type: "mrkdwn"
58
+ text: "${{ github.event.release.body }}"
59
+ emoji: true
60
+ - type: "divider"
61
+ - type: "section"
62
+ text:
63
+ type: "mrkdwn"
64
+ text: "View the full change log <${{ github.event.release.html_url }}|here>."
You can’t perform that action at this time.
0 commit comments