From ec692e2f8dc278210823ed9e395c28d8807675a9 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Fri, 27 Sep 2024 18:18:04 +0200 Subject: [PATCH] action: Ensure error messages appear on CI --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 6c1d890..0680124 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ runs: shell: bash working-directory: ${{ inputs.working-directory }} run: | - hash=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} --hash 2>/dev/null) - prerequisites=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} 2>/dev/null | xargs) + hash=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} --hash) + prerequisites=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} | xargs) echo "hash=$hash" >> $GITHUB_OUTPUT echo "prerequisites=$prerequisites" >> $GITHUB_OUTPUT