-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:lycheeverse/lychee-action
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected].0 | ||
uses: lycheeverse/[email protected].1 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
|
@@ -70,7 +70,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Link Checker | ||
uses: lycheeverse/[email protected].0 | ||
uses: lycheeverse/[email protected].1 | ||
with: | ||
fail: true | ||
env: | ||
|
@@ -91,7 +91,7 @@ On top of that, the action also supports some additional arguments. | |
| fail | `false` | Fail workflow run on error (i.e. when [lychee exit code][lychee-exit] is not 0). | | ||
| format | `markdown`, `json` | Summary output format. | | ||
| jobSummary | `false` | Write Github job summary (on Markdown output only). | | ||
| lycheeVersion | `0.11.0` | Overwrite the lychee version to be used. | | ||
| lycheeVersion | `0.11.1` | Overwrite the lychee version to be used. | | ||
| output | `lychee/results.md` | Summary output file path. | | ||
|
||
See [action.yml](./action.yml) for a full list of supported arguments and their default values. | ||
|
@@ -100,7 +100,7 @@ See [action.yml](./action.yml) for a full list of supported arguments and their | |
|
||
```yml | ||
- name: Link Checker | ||
uses: lycheeverse/[email protected].0 | ||
uses: lycheeverse/[email protected].1 | ||
with: | ||
# Check all markdown and html files in repo (default) | ||
args: --verbose --no-progress './**/*.md' './**/*.html' | ||
|
@@ -125,7 +125,7 @@ In order to mitigate issues regarding rate limiting or to reduce stress on exter | |
restore-keys: cache-lychee- | ||
- name: Run lychee | ||
uses: lycheeverse/[email protected].0 | ||
uses: lycheeverse/[email protected].1 | ||
with: | ||
args: "--cache --max-cache-age 1d" | ||
``` | ||
|
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