From 109fc3c52f04aedf9029c993ba8348c9e5975da3 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Fri, 27 Sep 2024 18:19:50 +0200 Subject: [PATCH] testing error did not show in CI --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 0680124..6c1d890 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) - prerequisites=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} | xargs) + 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) echo "hash=$hash" >> $GITHUB_OUTPUT echo "prerequisites=$prerequisites" >> $GITHUB_OUTPUT