set xsi to http instead of https (#206)

* set xsi to http instead of https

* update check_links.yml

* use env. context

* remove continue-on-error

* all at once

* step name

* update version to 20230313

---------

Co-authored-by: tooomm <tooomm@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
ebbit1q 2023-03-13 22:28:03 +01:00 committed by GitHub
parent 593d95ceff
commit 7dafd41d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 16 deletions

View File

@ -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

View File

@ -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_carddatabase version="4" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd">
<cockatrice_carddatabase version="4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd">
<info>
<author>Cockatrice/Magic-Token</author>
<createdAt></createdAt>
<sourceUrl>https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml</sourceUrl>
<sourceVersion>20230312</sourceVersion>
<sourceVersion>20230313</sourceVersion>
</info>
<cards>
<!--

View File

@ -1 +1 @@
20230312
20230313