Update links.yml

This commit is contained in:
Jake Henning 2021-12-28 16:52:15 +02:00 committed by GitHub
parent df0c23803d
commit ddff088147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,14 +31,13 @@ jobs:
uses: lycheeverse/lychee-action@v1.2.0 uses: lycheeverse/lychee-action@v1.2.0
with: with:
format: json format: json
output: /tmp/links.json
args: --verbose --no-progress ${{ env.MD_FILES }} args: --verbose --no-progress ${{ env.MD_FILES }}
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Read Results - name: Read Results
if: ${{ steps.lychee.outputs.exit_code != 0 }} if: ${{ steps.lychee.outputs.exit_code != 0 }}
run: echo "REPORT=$(jq -Rs '.' /tmp/links.json)" >> $GITHUB_ENV run: echo "REPORT=$(jq -Rs '.' ./lychee/out.md)" >> $GITHUB_ENV
- name: Echo Results - name: Echo Results
if: ${{ steps.lychee.outputs.exit_code != 0 }} if: ${{ steps.lychee.outputs.exit_code != 0 }}