From 664ccf4580600e32fbc87e43d363c4ede3ffe808 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 4 Dec 2022 12:46:57 +0100 Subject: [PATCH 01/23] url stats --- .github/workflows/check_links.yml | 32 ++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 2dd16be9..878e62e7 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -27,17 +27,39 @@ jobs: key: cache-lychee-${{ github.sha }} restore-keys: cache-lychee- - # Extract and check URLs directly from tokens.xml - - name: Check tokens.xml URLs + - name: Extract picture URLs from tokens.xml + id: tokens_pic_urls uses: lycheeverse/lychee-action@v1 - if: always() with: - args: '--no-progress --require-https --cache --max-cache-age 1h -- tokens.xml' + args: '--dump --exclude www.w3.org -- tokens.xml' + fail: true + jobSummary: false + + - name: List duplicated image links + if: steps.tokens_pic_urls.outcome == 'success' + shell: bash + # Remove blank lines | trim trailing integers (Scryfall) | sort | count and list duplicates + run: | + grep . /tmp/lychee/out.md | sed 's/\.jpg?.*/.jpg/' | sort | uniq -cd + + - name: List image hosting sources + if: steps.tokens_pic_urls.outcome == 'success' + shell: bash + # Extract domains from URLs | remove blank lines | sort | count and list | sort descending + run: | + awk -F/ '{print $3}' /tmp/lychee/out.md | grep . | sort | uniq -c | sort -nr + + # Check already extracted URLs from tokens.xml + - name: Check URLs from tokens.xml + uses: lycheeverse/lychee-action@v1 + if: steps.tokens_pic_urls.outcome == 'success' + with: + args: '--no-progress --require-https --cache --max-cache-age 1h -- /tmp/lychee/out.md' fail: true jobSummary: true # Extract and check URLs directly from challenge_tokens.xml - - name: Check challenge_tokens.xml URLs + - name: Check URLs from challenge_tokens.xml uses: lycheeverse/lychee-action@v1 if: always() with: From 7dd752357c32e10ff250e48a7ec56573c92547d6 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 4 Dec 2022 14:51:18 +0100 Subject: [PATCH 02/23] try dump to file again --- .github/workflows/check_links.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 878e62e7..d9a4e351 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -32,9 +32,14 @@ jobs: uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' + output: /tmp/foo.txt fail: true jobSummary: false + - name: Print dumped output file + shell: bash + run: cat /tmp/foo.txt + - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' shell: bash From 5783f9ee192769f5beda276dc126f8f1619cbab9 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 4 Dec 2022 14:59:21 +0100 Subject: [PATCH 03/23] dump2 --- .github/workflows/check_links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index d9a4e351..846ba111 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -32,13 +32,13 @@ jobs: uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' - output: /tmp/foo.txt + output: lychee/foo.txt fail: true jobSummary: false - name: Print dumped output file shell: bash - run: cat /tmp/foo.txt + run: cat /tmp/lychee/foo.txt - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' From aab6c3a5ac807129bbfea936f03234a6284682d2 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 4 Dec 2022 15:06:59 +0100 Subject: [PATCH 04/23] dump3 --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 846ba111..dae36c45 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -32,7 +32,7 @@ jobs: uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' - output: lychee/foo.txt + output: foo.txt fail: true jobSummary: false From faebacd294c010be9851c1f304b3aa2dc112c377 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 29 Oct 2023 12:20:31 +0100 Subject: [PATCH 05/23] Update check_links.yml --- .github/workflows/check_links.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index b9cf779c..b11185e7 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -67,10 +67,6 @@ jobs: # fail: true # jobSummary: true - # Extract and check URLs directly from challenge_tokens.xml - - name: Check URLs from challenge_tokens.xml - uses: lycheeverse/lychee-action@v1 - # Extract and check URLs directly from token files - name: Check token art URLs uses: lycheeverse/lychee-action@v1 From 592875cb434d7305b529ee04cf6fa33e8b5f59a0 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 29 Oct 2023 12:27:28 +0100 Subject: [PATCH 06/23] Update check_links.yml --- .github/workflows/check_links.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index b11185e7..2e9579ac 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -36,13 +36,12 @@ jobs: uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' - output: foo.txt fail: true jobSummary: false - name: Print dumped output file shell: bash - run: cat /tmp/lychee/foo.txt + run: cat /tmp/lychee/out.md - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' From 8e25b6a34122e39db503ffca59896e2d47046100 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 29 Oct 2023 12:38:13 +0100 Subject: [PATCH 07/23] Update check_links.yml --- .github/workflows/check_links.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 2e9579ac..910df797 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -36,7 +36,8 @@ jobs: uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' - fail: true + output: lychee/out.md + fail: false jobSummary: false - name: Print dumped output file From 87726d99acbd7aa031191aabdaf3c3ed60c74198 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 16 Mar 2024 18:06:42 +0100 Subject: [PATCH 08/23] Update check_links.yml --- .github/workflows/check_links.yml | 46 +++++++++++++------------------ 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 910df797..436d1f3a 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -16,7 +16,7 @@ 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' + lychee_args: '--no-progress --require-https --cache --max-cache-age 8h --exclude http://www.w3.org' steps: - name: Checkout @@ -31,49 +31,41 @@ jobs: key: cache-lychee-${{ github.sha }} restore-keys: cache-lychee- - - name: Extract picture URLs from tokens.xml + # Extract and check URLs directly from token files (checking dumped file did not work) + - name: Check token art URLs + uses: lycheeverse/lychee-action@v1 + with: + args: '${{env.lychee_args}} -- tokens.xml' + fail: true + jobSummary: true + + # Extract picture URLs from tokens.xml + - name: Extract URLs id: tokens_pic_urls uses: lycheeverse/lychee-action@v1 with: args: '--dump --exclude www.w3.org -- tokens.xml' output: lychee/out.md - fail: false + fail: true jobSummary: false - - name: Print dumped output file - shell: bash - run: cat /tmp/lychee/out.md - + # Analyse extracted links (1/2) - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' shell: bash # Remove blank lines | trim trailing integers (Scryfall) | sort | count and list duplicates run: | - grep . /tmp/lychee/out.md | sed 's/\.jpg?.*/.jpg/' | sort | uniq -cd - + echo "🪞 **Duplicated Image Links**" >> $GITHUB_STEP_SUMMARY + grep . lychee/out.md | sed 's/\.jpg?.*/.jpg/' | sort | uniq -cd >> $GITHUB_STEP_SUMMARY + + # Analyse extracted links (2/2) - name: List image hosting sources if: steps.tokens_pic_urls.outcome == 'success' shell: bash # Extract domains from URLs | remove blank lines | sort | count and list | sort descending run: | - awk -F/ '{print $3}' /tmp/lychee/out.md | grep . | sort | uniq -c | sort -nr - - # Check already extracted URLs from tokens.xml - #- name: Check URLs from tokens.xml - # uses: lycheeverse/lychee-action@v1 - # if: steps.tokens_pic_urls.outcome == 'success' - # with: - # args: '--no-progress --require-https --cache --max-cache-age 1h -- /tmp/lychee/out.md' - # fail: true - # jobSummary: true - - # Extract and check URLs directly from token files - - name: Check token art URLs - uses: lycheeverse/lychee-action@v1 - with: - args: '${{env.lychee_args}} -- tokens.xml challenge_tokens.xml' - fail: true - jobSummary: true + echo "📊 **Image Hosting Statistics**" >> $GITHUB_STEP_SUMMARY + awk -F/ '{print $3}' lychee/out.md | grep . | sort | uniq -c | sort -nr >> $GITHUB_STEP_SUMMARY # Always save cache - name: Save lychee cache From 9581803811866f278642008ac73944021f6c2aa2 Mon Sep 17 00:00:00 2001 From: tooomm Date: Thu, 29 Aug 2024 19:15:00 +0200 Subject: [PATCH 09/23] rephrase comment --- .github/workflows/check_links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 436d1f3a..e10131ca 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -53,7 +53,7 @@ jobs: - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' shell: bash - # Remove blank lines | trim trailing integers (Scryfall) | sort | count and list duplicates + # Remove empty lines | trim trailing integers (Scryfall) | sort | count and list duplicates run: | echo "🪞 **Duplicated Image Links**" >> $GITHUB_STEP_SUMMARY grep . lychee/out.md | sed 's/\.jpg?.*/.jpg/' | sort | uniq -cd >> $GITHUB_STEP_SUMMARY @@ -62,7 +62,7 @@ jobs: - name: List image hosting sources if: steps.tokens_pic_urls.outcome == 'success' shell: bash - # Extract domains from URLs | remove blank lines | sort | count and list | sort descending + # Extract 3rd field (domain name) | remove empty lines | sort | count duplicates and list with numbers | sort descending run: | echo "📊 **Image Hosting Statistics**" >> $GITHUB_STEP_SUMMARY awk -F/ '{print $3}' lychee/out.md | grep . | sort | uniq -c | sort -nr >> $GITHUB_STEP_SUMMARY From fc1fa8e12541a1ac06ef02c0383a48f4e63d424a Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 12 Oct 2024 11:49:33 +0200 Subject: [PATCH 10/23] Update to v2 action --- .github/workflows/check_links.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 55ff6b94..8f56fb23 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -49,11 +49,10 @@ jobs: # Extract picture URLs from tokens.xml - name: Extract URLs id: tokens_pic_urls - uses: lycheeverse/lychee-action@v1 + uses: lycheeverse/lychee-action@v2 with: args: '--dump --exclude www.w3.org -- tokens.xml' output: lychee/out.md - fail: true jobSummary: false # Analyse extracted links (1/2) From cd27f442dd84387eb1cf6464fc72e077ef12dc9c Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 23 Nov 2024 16:13:01 +0100 Subject: [PATCH 11/23] missing art badges + updated icons --- .github/workflows/check_links.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 8f56fb23..cdf878b4 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -55,6 +55,15 @@ jobs: output: lychee/out.md jobSummary: false + # List some helpful stats on missing pictures + - name: List missing image link counts + shell: bash + run: | + echo "❌ **Missing Image Links**" >> $GITHUB_STEP_SUMMARY + echo "Token with missing \`set\` element: [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fcard%5Bnot%28set%29%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY + echo "Missing picURL attribute (\`\`): [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fset%29-count%28%2F%2Fset%5B%40picURL%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY + echo "Empty picURL value (\`\`): [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fset%5B%40picURL%3D%22%22%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY + # Analyse extracted links (1/2) - name: List duplicated image links if: steps.tokens_pic_urls.outcome == 'success' @@ -70,7 +79,7 @@ jobs: shell: bash # Extract 3rd field (domain name) | remove empty lines | sort | count duplicates and list with numbers | sort descending run: | - echo "📊 **Image Hosting Statistics**" >> $GITHUB_STEP_SUMMARY + echo "📶 **Image Hosting Statistics**" >> $GITHUB_STEP_SUMMARY awk -F/ '{print $3}' lychee/out.md | grep . | sort | uniq -c | sort -nr >> $GITHUB_STEP_SUMMARY # Always save cache From 5711ad826b58b64caecf9c67dafae453a7ede97e Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 15:57:22 +0100 Subject: [PATCH 12/23] check dump --- .github/workflows/check_links.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index cdf878b4..75f65ea6 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -39,13 +39,6 @@ jobs: key: cache-lychee-${{ github.sha }} restore-keys: cache-lychee- - # Extract and check URLs directly from token files (checking dumped file did not work) - - name: Check token art URLs - uses: lycheeverse/lychee-action@v2 - with: - args: '${{env.lychee_args}} -- tokens.xml' - jobSummary: true - # Extract picture URLs from tokens.xml - name: Extract URLs id: tokens_pic_urls @@ -55,11 +48,31 @@ jobs: output: lychee/out.md jobSummary: false + # Print as test + - name: Print Output + run: cat ./lychee/out.md + + # Check dumped URLs + - name: Check token art URLs + if: steps.tokens_pic_urls.outcome == 'success' + uses: lycheeverse/lychee-action@v2 + with: + args: '${{env.lychee_args}} -- ./lychee/out.md' + jobSummary: true + + # # Fallback if dump not working (TODO) + # - name: Check token art URLs + # if: steps.tokens_pic_urls.outcome == 'success' + # uses: lycheeverse/lychee-action@v2 + # with: + # args: '${{env.lychee_args}} -- ./lychee/out.md' + # jobSummary: true + # List some helpful stats on missing pictures - name: List missing image link counts shell: bash run: | - echo "❌ **Missing Image Links**" >> $GITHUB_STEP_SUMMARY + echo "❌ **Missing Image Links (master branch)**" >> $GITHUB_STEP_SUMMARY echo "Token with missing \`set\` element: [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fcard%5Bnot%28set%29%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY echo "Missing picURL attribute (\`\`): [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fset%29-count%28%2F%2Fset%5B%40picURL%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY echo "Empty picURL value (\`\`): [![](https://img.shields.io/badge/dynamic/xml?label=&colorB=white&query=count%28%2F%2Fset%5B%40picURL%3D%22%22%5D%29&url=https%3A%2F%2Fraw.githubusercontent.com%2FCockatrice%2FMagic-Token%2Fmaster%2Ftokens.xml)](https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml)" >> $GITHUB_STEP_SUMMARY From 2460a4090e38ad3153a79b43c3d15d312bd9eeb7 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 15:59:37 +0100 Subject: [PATCH 13/23] path --- .github/workflows/check_links.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 75f65ea6..0a5e7417 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -48,16 +48,12 @@ jobs: output: lychee/out.md jobSummary: false - # Print as test - - name: Print Output - run: cat ./lychee/out.md - # Check dumped URLs - name: Check token art URLs if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: '${{env.lychee_args}} -- ./lychee/out.md' + args: '${{env.lychee_args}} -- lychee/out.md' jobSummary: true # # Fallback if dump not working (TODO) From 826427b4bf09ca10f493fb715efe9ab23e7f114d Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:05:11 +0100 Subject: [PATCH 14/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 0a5e7417..6c89c276 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -53,7 +53,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: '${{env.lychee_args}} -- lychee/out.md' + args: '${{env.lychee_args}} -- /lychee/out.md' jobSummary: true # # Fallback if dump not working (TODO) From b06a7df877645302765e4691eea0ff85b446081e Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:08:12 +0100 Subject: [PATCH 15/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 6c89c276..e9931e4e 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -53,7 +53,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: '${{env.lychee_args}} -- /lychee/out.md' + args: --no-progress --require-https --cache --max-cache-age 8h -- 'lychee/out.md' jobSummary: true # # Fallback if dump not working (TODO) From 94c7c910e12c64213444c0c00fcc66b78f7b51c3 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:10:12 +0100 Subject: [PATCH 16/23] Update check_links.yml --- .github/workflows/check_links.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index e9931e4e..7d1b2bec 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -23,8 +23,6 @@ jobs: name: Check image links runs-on: ubuntu-latest - env: - lychee_args: '--no-progress --require-https --cache --max-cache-age 8h --exclude http://www.w3.org' steps: - name: Checkout @@ -53,7 +51,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h -- 'lychee/out.md' + args: --no-progress --require-https --cache --max-cache-age 8h -- './lychee/out.md' jobSummary: true # # Fallback if dump not working (TODO) From 3875777c252ff5855722bd34d581091515e9e321 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:16:56 +0100 Subject: [PATCH 17/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 7d1b2bec..dab0fc3d 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -51,7 +51,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h -- './lychee/out.md' + args: --no-progress --require-https --cache --max-cache-age 8h './lychee/out.md' jobSummary: true # # Fallback if dump not working (TODO) From b8f4eaddc4d19000b89fa6b43b37308e89d154fc Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:24:49 +0100 Subject: [PATCH 18/23] Update check_links.yml --- .github/workflows/check_links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index dab0fc3d..53ce473f 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -43,7 +43,7 @@ jobs: uses: lycheeverse/lychee-action@v2 with: args: '--dump --exclude www.w3.org -- tokens.xml' - output: lychee/out.md + output: lychee/url_list.md jobSummary: false # Check dumped URLs @@ -51,7 +51,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h './lychee/out.md' + args: --no-progress --require-https --cache --max-cache-age 8h './lychee/url_list.md' jobSummary: true # # Fallback if dump not working (TODO) From e4867e9de0330fe01d092b0aa19e71fabb8007d2 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:34:22 +0100 Subject: [PATCH 19/23] Update check_links.yml --- .github/workflows/check_links.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 53ce473f..289eeb20 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -42,16 +42,20 @@ jobs: id: tokens_pic_urls uses: lycheeverse/lychee-action@v2 with: - args: '--dump --exclude www.w3.org -- tokens.xml' + args: --dump --exclude www.w3.org -- tokens.xml output: lychee/url_list.md jobSummary: false + # Print output + - name: Print List of URLs + run: cat .lychee/url_list.md + # Check dumped URLs - name: Check token art URLs if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h './lychee/url_list.md' + args: --no-progress --require-https --cache --max-cache-age 8h -- './lychee/url_list.md' jobSummary: true # # Fallback if dump not working (TODO) From e501178c8fc51b6c647796793537a98ff2711e65 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:35:57 +0100 Subject: [PATCH 20/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 289eeb20..7d845fe1 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -48,7 +48,7 @@ jobs: # Print output - name: Print List of URLs - run: cat .lychee/url_list.md + run: cat ./lychee/url_list.md # Check dumped URLs - name: Check token art URLs From 45bc0e2afb04dfcc3a0d333a5df6209e04add1ae Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:48:38 +0100 Subject: [PATCH 21/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 7d845fe1..a04bc386 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -55,7 +55,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h -- './lychee/url_list.md' + args: --no-progress --require-https --cache --max-cache-age 8h -- ./lychee/url_list.md jobSummary: true # # Fallback if dump not working (TODO) From 8936074df362d4c3897bfaa7ae6e84eac3433128 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:49:26 +0100 Subject: [PATCH 22/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index a04bc386..f3c1502d 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -55,7 +55,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h -- ./lychee/url_list.md + args: --no-progress --require-https --cache --max-cache-age 8h -- /lychee/url_list.md jobSummary: true # # Fallback if dump not working (TODO) From 12c4e2fcd9805bd9c37a1a8060651ecdfba25d46 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 2 Mar 2025 16:54:50 +0100 Subject: [PATCH 23/23] Update check_links.yml --- .github/workflows/check_links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index f3c1502d..7d845fe1 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -55,7 +55,7 @@ jobs: if: steps.tokens_pic_urls.outcome == 'success' uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --require-https --cache --max-cache-age 8h -- /lychee/url_list.md + args: --no-progress --require-https --cache --max-cache-age 8h -- './lychee/url_list.md' jobSummary: true # # Fallback if dump not working (TODO)