diff --git a/.github/workflows/hero-check.yml b/.github/workflows/hero-check.yml index f3bccdc..eb01d4e 100644 --- a/.github/workflows/hero-check.yml +++ b/.github/workflows/hero-check.yml @@ -27,11 +27,11 @@ jobs: echo "Confirming submission ($SUBMISSION) equals checksum..."; if [[ "$SUBMISSION" = "$CHECKSUM" ]]; then echo "Submissions match, they're an open source hero!" - echo "RESULT='pass'" >> "$GITHUB_OUTPUT"; + echo "RESULT=pass" >> "$GITHUB_OUTPUT"; echo "MESSAGE='🤩 Wow, you are an open source hero! Find a volunteer with the special White House badge to claim your fame!'" >> "$GITHUB_OUTPUT"; else echo "Submissions do not match, need to try again." - echo "RESULT='fail'" >> "$GITHUB_OUTPUT"; + echo "RESULT=fail" >> "$GITHUB_OUTPUT"; echo "MESSAGE='😔 Sorry, but that is not the right hash. Have you found all of the clues?'" >> "$GITHUB_OUTPUT"; fi - name: Test Message @@ -53,6 +53,7 @@ jobs: env: RESULT: ${{ steps.check_sub.outputs.RESULT }} run: >- + echo "RESULT=$RESULT" if [[ "$RESULT" = "pass" ]]; then exit 0; else