From af691dfb39044584ab31c0187a02c7d243dcf2b6 Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Tue, 14 Jan 2025 16:16:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Slack=20notification=20col?= =?UTF-8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Zunker --- .github/workflows/gh-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-release.yaml b/.github/workflows/gh-release.yaml index fcb9c070..7138ef3a 100644 --- a/.github/workflows/gh-release.yaml +++ b/.github/workflows/gh-release.yaml @@ -75,7 +75,7 @@ jobs: ts: "${{ steps.slack.outputs.ts }}" text: "GitHub Actions Run" attachments: - - color: "${{ (steps.check_release_file.outputs.status == 'success') && '#00FF00' || (steps.check_release_file.outputs.status == 'failure') && '#FF0000' || '#FFA500' }}" + - color: "${{ (steps.check_release_file.outcome == 'success') && '#00FF00' || (steps.check_release_file.outcome == 'failure') && '#FF0000' || '#FFA500' }}" blocks: - type: "section" fields: @@ -84,4 +84,4 @@ jobs: - type: "mrkdwn" text: " " - type: "mrkdwn" - text: "*Status:*\n`${{ steps.check_release_file.outputs.status }}`" + text: "*Status:*\n`${{ steps.check_release_file.outcome }}`"