File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,20 @@ jobs:
20
20
uses : actions/checkout@v3
21
21
22
22
# See exclusions in .lycheeignore, remove lines and give it a whirl if you're hunting broken links
23
- # TODO SADIE: './Data/cf-conventions/**/build/*.html' not working as glob exclusion - why???
24
- # NOTE: must specify --exclude-path each time, also, else only first path gets picked up!
25
23
- name : Check links
24
+ id : lychee
26
25
uses : lycheeverse/lychee-action@master
27
26
with :
28
27
fail : true
28
+ # We need to exclude the cf-conventions-1.2 and .3 build dirs
29
+ # because they lead to an error of:
30
+ # Error: Cannot read input content from file <relevant file>
31
+ # Caused by:
32
+ # stream did not contain valid UTF-8
33
+ # Note: --exclude-path only takes one input path, so we need
34
+ # to set it twice.
29
35
args : >
30
- --verbose -- no-progress './**/*.md' './**/*.html'
36
+ --no-progress './**/*.md' './**/*.html'
31
37
--exclude-path Data/cf-conventions/cf-conventions-1.2/build/
32
38
--exclude-path Data/cf-conventions/cf-conventions-1.3/build/
33
39
env :
You can’t perform that action at this time.
0 commit comments