From d90848f0e0952f889eeba20d7dd967b894406a6a Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Fri, 20 Dec 2024 09:45:27 +0900 Subject: [PATCH] get output Signed-off-by: Jorgen Lundman --- .github/workflows/notify-irc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify-irc.yml b/.github/workflows/notify-irc.yml index ba7092c..ab8161a 100644 --- a/.github/workflows/notify-irc.yml +++ b/.github/workflows/notify-irc.yml @@ -18,7 +18,8 @@ jobs: - name: Generate notification message id: notify run: | - .github/workflows/notify-irc.sh "$COMMITS_JSON" "$GITHUB_ACTOR" "$GITHUB_REF_NAME" "$GITHUB_COMPARE_URL" > notification.txt + MESSAGE=$(.github/workflows/notify-irc.sh "$COMMITS_JSON" "$GITHUB_ACTOR" "$GITHUB_REF_NAME" "$GITHUB_COMPARE_URL") + echo "::set-output name=message::$MESSAGE" - name: Notify IRC uses: rectalogic/notify-irc@v1 @@ -26,5 +27,5 @@ jobs: channel: "#OpenZFS-Windows" server: "irc.libera.chat" nickname: "zfs-consus" - message: $(cat notification.txt) + message: "${{ steps.notify.outputs.message }}"