diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 2dd16be..904be82 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -15,6 +15,8 @@ jobs: name: Check image links runs-on: ubuntu-latest + env: + lychee_args: '--no-progress --require-https --cache --max-cache-age 1h --exclude http://www.w3.org' steps: - name: Checkout @@ -27,20 +29,10 @@ jobs: key: cache-lychee-${{ github.sha }} restore-keys: cache-lychee- - # Extract and check URLs directly from tokens.xml - - name: Check tokens.xml URLs + # Extract and check URLs directly from token files + - name: Check token art URLs uses: lycheeverse/lychee-action@v1 - if: always() with: - args: '--no-progress --require-https --cache --max-cache-age 1h -- tokens.xml' - fail: true - jobSummary: true - - # Extract and check URLs directly from challenge_tokens.xml - - name: Check challenge_tokens.xml URLs - uses: lycheeverse/lychee-action@v1 - if: always() - with: - args: '--no-progress --require-https --cache --max-cache-age 1h -- challenge_tokens.xml' + args: '${{env.lychee_args}} -- tokens.xml challenge_tokens.xml' fail: true jobSummary: true diff --git a/tokens.xml b/tokens.xml index 8cabb49..317702a 100644 --- a/tokens.xml +++ b/tokens.xml @@ -4,12 +4,12 @@ We have made a new user-editable file for token modifications. Currently this file is "TK.xml" and can be found in your customsets directory. --> - + Cockatrice/Magic-Token https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml - 20230312 + 20230313