From d45bb12dc4de55fa2506b02645b3a10a902328cc Mon Sep 17 00:00:00 2001 From: Ben Airey Date: Tue, 12 Nov 2024 13:21:32 -0600 Subject: [PATCH] use set-output to send error text to buffer --- .github/workflows/check-packs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-packs.yml b/.github/workflows/check-packs.yml index 53075272b..89a82e8a2 100644 --- a/.github/workflows/check-packs.yml +++ b/.github/workflows/check-packs.yml @@ -40,8 +40,8 @@ jobs: id: check-packs run: | # Get the output for the PR comment body - panther_analysis_tool check-packs 2> errors.txt - echo "errors=`cat errors.txt`" >> $GITHUB_OUTPUT + panther_analysis_tool check-packs 2> errors.txt || true + echo ::set-output name=errors::`cat errors.txt` # Run again to get the exit code panther_analysis_tool check-packs