-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add --base every where we have args specified
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ Here is how to pass the arguments. | |
uses: lycheeverse/[email protected] | ||
with: | ||
# Check all markdown and html files in repo (default) | ||
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' | ||
args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' | ||
# Use json as output format (instead of markdown) | ||
format: json | ||
# Use different output file path | ||
|
@@ -143,7 +143,7 @@ In order to mitigate issues regarding rate limiting or to reduce stress on exter | |
- name: Run lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
args: "--cache --max-cache-age 1d ." | ||
args: "--base . --cache --max-cache-age 1d ." | ||
``` | ||
It will compare and save the cache based on the given key. | ||
|
@@ -163,7 +163,7 @@ If you need more control over when caches are restored and saved, you can split | |
- name: Run lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
args: "--cache --max-cache-age 1d ." | ||
args: "--base . --cache --max-cache-age 1d ." | ||
|
||
- name: Save lychee cache | ||
uses: actions/cache/save@v3 | ||
|