Skip to content

Commit 50a631e

Browse files
authored
Update args for lychee-action to use root-dir (#314)
Fixes #313
1 parent a8c4c7c commit 50a631e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

118118
It 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

0 commit comments

Comments
 (0)