mirror of
https://github.com/Cockatrice/Magic-Token.git
synced 2026-09-28 03:56:40 -05:00
fix url check workflow (#378)
Some checks failed
Picture Health / Check image links (push) Has been cancelled
Some checks failed
Picture Health / Check image links (push) Has been cancelled
* 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 * forgot it was "run" not "script"
This commit is contained in:
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
|
||||
run: grep tokens.xml -oPe '(?<=picURL=")[^"]+(?=")' >url_list.md
|
||||
|
||||
# Check dumped URLs
|
||||
- name: Check token art URLs
|
||||
|
||||
Reference in New Issue
Block a user