mirror of
https://github.com/Cockatrice/Magic-Token.git
synced 2026-08-06 04:44:41 -05:00
fix url check workflow
lychee v24 now includes parsing xml files, however they don't support arbitrary xmls, we only care about parsing the contents of the picurl so I decided that we do away their parsing and simply extract only the part we care about
This commit is contained in:
parent
03e9494746
commit
9591a8ee84
7
.github/workflows/check_links.yml
vendored
7
.github/workflows/check_links.yml
vendored
|
|
@ -42,11 +42,8 @@ jobs:
|
|||
# Extract picture URLs from tokens.xml
|
||||
- name: Extract URLs
|
||||
id: tokens_pic_urls
|
||||
uses: lycheeverse/lychee-action@v2
|
||||
with:
|
||||
args: --dump -- tokens.xml
|
||||
output: url_list.md
|
||||
jobSummary: false
|
||||
shell: bash
|
||||
script: grep tokens.xml -oPe '(?<=picURL=")[^"]+(?=")' >url_list.md
|
||||
|
||||
# Check dumped URLs
|
||||
- name: Check token art URLs
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user