Skip to content

Commit 2067eb3

Browse files
authored
Merge pull request #73 from codacy/fail-fast-action
fix: Fail fast Github action
2 parents b4a3025 + 920b2c3 commit 2067eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
- id: previous-version
4646
shell: bash
4747
run: |
48-
set -e
48+
set -eo pipefail
4949
5050
export PREVIOUS_VERSION=$(docker run -v $(pwd):/repo codacy/git-version:${{ inputs.tool-version }} \
5151
/bin/git-version \
@@ -62,7 +62,7 @@ runs:
6262
- id: version
6363
shell: bash
6464
run: |
65-
set -e
65+
set -eo pipefail
6666
6767
export VERSION=$(docker run -v $(pwd):/repo codacy/git-version:${{ inputs.tool-version }} \
6868
/bin/git-version \

0 commit comments

Comments
 (0)