Skip to content

Commit

Permalink
Try to make the check fail
Browse files Browse the repository at this point in the history
even with continue on error
  • Loading branch information
ScrappyCocco authored May 16, 2024
1 parent a70e3d8 commit 72eccea
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/translation-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ jobs:
python -m pip install --upgrade pip
pip install -r validator/requirements.txt
- name: Translation Validator
continue-on-error: true
id: translationvalidat
continue-on-error: true # Continue to Output Step anyway
run: |
cd validator
python main.py "../The_Colonists_Translation_Data_Italian.csv"
if [ $? -ne 0 ]; then
echo "::set-output name=status::failure"
else
echo "::set-output name=status::success"
fi
- name: Output result
run: |
cd validator
cat result.txt
if [ "${{ steps.translationvalidat.outputs.status }}" = "failure" ]; then
echo "::error::Previous step failed"
exit 1
fi

0 comments on commit 72eccea

Please sign in to comment.