Allow link checker to fail

This commit is contained in:
mDuo13
2021-05-24 15:06:28 -07:00
parent 3c9ec5d62b
commit 35fd4ee790

View File

@@ -32,11 +32,11 @@ jobs:
tool/build_all_langs.sh --vars dactyl_vars.json
- name: Run Dactyl Link Checker
continue-on-error: true
run: |
dactyl_link_checker -o -q > linkreport.txt
- name: Assemble Link Report
if: always()
run: |
sed -i '1,/---------------------------------------/d' linkreport.txt
echo 'LINKREPORT<<EOF' >> $GITHUB_ENV
@@ -48,7 +48,6 @@ jobs:
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: always()
with:
msg: ${{ env.LINKREPORT }}
check_for_duplicate_msg: false