From 4934f0cb30e0fad527b7f093a8dd0d92cff103dc Mon Sep 17 00:00:00 2001 From: Fotis Koutoulakis Date: Thu, 27 Oct 2022 22:38:24 +0100 Subject: [PATCH] Remove golang install step and add missing environment variable to slack notification step for homebrew PR job. --- .github/workflows/release-packages.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release-packages.yaml b/.github/workflows/release-packages.yaml index 6a5e9042290..8df2f64bc24 100644 --- a/.github/workflows/release-packages.yaml +++ b/.github/workflows/release-packages.yaml @@ -190,9 +190,6 @@ jobs: - name: Checkout CBMC project source code to obtain access to scripts if: always() uses: actions/checkout@v3 - - name: Install golang toolchain to run the notification step - if: always() - run: brew install go - name: Slack notification of CI status if: success() || failure() env: @@ -200,6 +197,7 @@ jobs: SLACK_COLOR: ${{ job.status }} SLACK_USERNAME: Github Actions CI bot SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_MESSAGE: "${{ job.status == 'success' && 'Homebrew PR submitted successfully' || 'Homebrew PR failed' }}" run: go run scripts/slack_notification_action.go windows-msi-package: