chore: Fixed error handling
This commit is contained in:
committed by
Julian Murgia
parent
eae37707b2
commit
46f46b28b3
9
.github/workflows/prerelease.yml
vendored
9
.github/workflows/prerelease.yml
vendored
@@ -17,7 +17,14 @@ jobs:
|
|||||||
token: ${{ secrets.DEPLOYMENT_TOKEN }}
|
token: ${{ secrets.DEPLOYMENT_TOKEN }}
|
||||||
- name: Remove trailing whitespace
|
- name: Remove trailing whitespace
|
||||||
run: |
|
run: |
|
||||||
find . -name ".gd$" -type f | xargs sed -i 's/[[:space:]]$//'
|
OUTPUT=$(find . -name ".gd$" -type f | xargs sed -i 's/[[:space:]]$//')
|
||||||
|
RC=$?
|
||||||
|
if [[ $RC -ne 0 ]] && [[ $RC -ne 128 ]]
|
||||||
|
then
|
||||||
|
echo $OUTPUT
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
- name: Calculate version
|
- name: Calculate version
|
||||||
id: calculate_version
|
id: calculate_version
|
||||||
uses: mathieudutour/github-tag-action@v5.6
|
uses: mathieudutour/github-tag-action@v5.6
|
||||||
|
|||||||
Reference in New Issue
Block a user