File tree Expand file tree Collapse file tree 2 files changed +62
-45
lines changed Expand file tree Collapse file tree 2 files changed +62
-45
lines changed Original file line number Diff line number Diff line change
1
+ name : Announce Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : Release version (i.e. 4.20.1)
8
+ required : true
9
+ type : string
10
+
11
+ jobs :
12
+
13
+ notify :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - id : tools-team-slack
17
+ uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117
18
+ env :
19
+ SLACK_BOT_TOKEN : ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
20
+ with :
21
+ channel-id : " C0188MENU2J"
22
+ payload : |
23
+ {
24
+ "text": "Released `${{ inputs.version }}`",
25
+ "blocks": [
26
+ {
27
+ "type": "section",
28
+ "text": {
29
+ "type": "mrkdwn",
30
+ "text": "Published `${{ inputs.version }}` successfully"
31
+ }
32
+ }
33
+ ]
34
+ }
35
+ - name : Announce Release on Slack
36
+ id : spring-tools-announcing
37
+ uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117
38
+ with :
39
+ payload : |
40
+ {
41
+ "text": "spring-tools-4-announcing `${{ inputs.version }}`",
42
+ "blocks": [
43
+ {
44
+ "type": "section",
45
+ "text": {
46
+ "type": "mrkdwn",
47
+ "text": "spring-tools-4-announcing `${{ inputs.version }}`"
48
+ }
49
+ }
50
+ ]
51
+ }
52
+ env :
53
+ SLACK_WEBHOOK_URL : ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
54
+ SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
55
+
Original file line number Diff line number Diff line change 12
12
required : true
13
13
type : string
14
14
release_version :
15
- description : Version suffix in S3 (i.e. 4.20.1)
15
+ description : Release version (i.e. 4.20.1)
16
16
required : true
17
17
type : string
18
18
eclipse_latest :
41
41
version : ${{ inputs.release_version }}.RELEASE
42
42
secrets : inherit
43
43
44
- notify :
45
- needs : [ aggregate-ls-extension-update-site, aggregate-distro-update-site, create-github-release ]
46
- runs-on : ubuntu-latest
47
- steps :
48
- - id : tools-team-slack
49
- uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117
50
- env :
51
- SLACK_BOT_TOKEN : ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
52
- with :
53
- channel-id : " C0188MENU2J"
54
- payload : |
55
- {
56
- "text": "Released `${{ inputs.release_version }}`",
57
- "blocks": [
58
- {
59
- "type": "section",
60
- "text": {
61
- "type": "mrkdwn",
62
- "text": "Published `${{ inputs.release_version }}` successfully"
63
- }
64
- }
65
- ]
66
- }
67
- - name : Announce Release on Slack
68
- id : spring-tools-announcing
69
- uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117
70
- with :
71
- payload : |
72
- {
73
- "text": "spring-tools-4-announcing `${{ inputs.release_version }}`",
74
- "blocks": [
75
- {
76
- "type": "section",
77
- "text": {
78
- "type": "mrkdwn",
79
- "text": "spring-tools-4-announcing `${{ inputs.release_version }}`"
80
- }
81
- }
82
- ]
83
- }
84
- env :
85
- SLACK_WEBHOOK_URL : ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
86
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
87
-
44
+ # announce-release:
45
+ # needs: [ aggregate-ls-extension-update-site, aggregate-distro-update-site, create-github-release ]
46
+ # uses: ./.github/workflows/announce-release.yml
47
+ # with:
48
+ # version: ${{ inputs.release_version }}
49
+ # secrets: inherit
You can’t perform that action at this time.
0 commit comments