Skip to content

Commit

Permalink
add cat errors file step
Browse files Browse the repository at this point in the history
  • Loading branch information
lizkrznarich committed Apr 17, 2024
1 parent 41d13b3 commit 774b251
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/validate-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
echo "validating v2"
python run_validations.py -i ../${{ env.WORKING_DIR }}/${{ github.event.inputs.file-name}} -v 2 -s ror_schema_v2_0.json
fi
- name: cat error file
if: ${{ steps.valiadatefiles.outcome != 'success'}}
run: |
echo "ERRORS found for some records:"
cat validation_errors.log
- name: Notify Slack
if: always()
uses: edge/simple-slack-notify@master
Expand Down

0 comments on commit 774b251

Please sign in to comment.