Skip to content

Commit

Permalink
trying to solve exit code 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangov committed Jul 3, 2024
1 parent a9c1476 commit 94f3246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hero-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Check Submission
id: check_sub
run: >-
SUBMISSION=`diff target/open-source-heroes.md source/open-source-heroes.md | awk '/\* @${{github.actor}}/{ print $4 }'`;
SUBMISSION=`(diff target/open-source-heroes.md source/open-source-heroes.md || true) | awk '/\* @${{github.actor}}/{ print $4 }'`;
CHECK=`echo -n "${{github.actor}}-${{secrets.SALT}}" | openssl dgst -${{secrets.ALGO}} | awk '/[a-z0-9]+/{ print $2 }'`;
echo "Confirming submission ($SUBMISSION) equals check ($CHECK)...";
Expand Down

0 comments on commit 94f3246

Please sign in to comment.