chore: Fixed error handling

This commit is contained in:
Dennis Ploeger
2022-03-07 09:11:32 +01:00
committed by Julian Murgia
parent eae37707b2
commit 46f46b28b3

View File

@@ -17,7 +17,14 @@ jobs:
token: ${{ secrets.DEPLOYMENT_TOKEN }}
- name: Remove trailing whitespace
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
id: calculate_version
uses: mathieudutour/github-tag-action@v5.6