From 74219f0647b791c1e9d8273fab1715793a181ed3 Mon Sep 17 00:00:00 2001 From: mbround18 Date: Thu, 7 Jul 2022 10:46:44 -0700 Subject: [PATCH] with pipefail --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4187c26..37de2b9 100644 --- a/action.yml +++ b/action.yml @@ -53,10 +53,12 @@ runs: env: GH_TOKEN: "${{ inputs.token }}" run: | + set -o pipefail + OUTPUT_FILE="/tmp/auto.out" - auto ${{ inputs.command }} 2>&1 | tee "${OUTPUT_FILE}" exit $? + - name: Check & Setup PowerShell shell: sh