Skip to content

Commit 4934f0c

Browse files
committed
Remove golang install step and add missing environment variable to slack notification step for homebrew PR job.
1 parent ab2b0cb commit 4934f0c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,14 @@ jobs:
190190
- name: Checkout CBMC project source code to obtain access to scripts
191191
if: always()
192192
uses: actions/checkout@v3
193-
- name: Install golang toolchain to run the notification step
194-
if: always()
195-
run: brew install go
196193
- name: Slack notification of CI status
197194
if: success() || failure()
198195
env:
199196
SLACK_CHANNEL: team_open_source
200197
SLACK_COLOR: ${{ job.status }}
201198
SLACK_USERNAME: Github Actions CI bot
202199
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
200+
SLACK_MESSAGE: "${{ job.status == 'success' && 'Homebrew PR submitted successfully' || 'Homebrew PR failed' }}"
203201
run: go run scripts/slack_notification_action.go
204202

205203
windows-msi-package:

0 commit comments

Comments
 (0)