From 920b2c35ac58aaa4722729e0f4808f3e2473ce1a Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Mon, 21 Nov 2022 20:32:59 +0100 Subject: [PATCH] fix: Fail fast Github action --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 62fa241..7ea9702 100644 --- a/action.yml +++ b/action.yml @@ -45,7 +45,7 @@ runs: - id: previous-version shell: bash run: | - set -e + set -eo pipefail export PREVIOUS_VERSION=$(docker run -v $(pwd):/repo codacy/git-version:${{ inputs.tool-version }} \ /bin/git-version \ @@ -62,7 +62,7 @@ runs: - id: version shell: bash run: | - set -e + set -eo pipefail export VERSION=$(docker run -v $(pwd):/repo codacy/git-version:${{ inputs.tool-version }} \ /bin/git-version \