File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ Here is how to pass the arguments.
7878 uses: lycheeverse/lychee-action@v2
7979 with:
8080 # Check all markdown, html and reStructuredText files in repo (default)
81- args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
81+ args: --root-dir "$(pwd)" --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
8282 # Use json as output format (instead of markdown)
8383 format: json
8484 # Use different output file path
@@ -112,7 +112,7 @@ In order to mitigate issues regarding rate limiting or to reduce stress on exter
112112- name: Run lychee
113113 uses: lycheeverse/lychee-action@v2
114114 with:
115- args: "--base . --cache --max-cache-age 1d ."
115+ args: "--root-dir "$(pwd)" --cache --max-cache-age 1d ."
116116` ` `
117117
118118It will compare and save the cache based on the given key.
@@ -133,7 +133,7 @@ If you need more control over when caches are restored and saved, you can split
133133- name: Run lychee
134134 uses: lycheeverse/lychee-action@v2
135135 with:
136- args: "--base . --cache --max-cache-age 1d ."
136+ args: "--root-dir "$(pwd)" --cache --max-cache-age 1d ."
137137
138138- name: Save lychee cache
139139 uses: actions/cache/save@v4
You can’t perform that action at this time.
0 commit comments