Skip to content

Commit

Permalink
Merge branch 'lycheeverse:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Oct 12, 2024
2 parents bfbd463 + 2bb2326 commit 0adf18c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create Issue From File
if: env.lychee_exit_code != 0
if: env.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4

- name: Lychee URL checker
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2
with:
args: >-
--cache
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2

- name: Create Issue From File
if: env.lychee_exit_code != 0
if: env.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
Expand Down Expand Up @@ -69,7 +69,7 @@ Here is how to pass the arguments.

```yml
- name: Link Checker
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2
with:
# Check all markdown, html and reStructuredText files in repo (default)
args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
Expand Down Expand Up @@ -101,7 +101,7 @@ In order to mitigate issues regarding rate limiting or to reduce stress on exter
restore-keys: cache-lychee-
- name: Run lychee
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2
with:
args: "--base . --cache --max-cache-age 1d ."
```
Expand All @@ -121,7 +121,7 @@ If you need more control over when caches are restored and saved, you can split
restore-keys: cache-lychee-
- name: Run lychee
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2
with:
args: "--base . --cache --max-cache-age 1d ."
Expand Down Expand Up @@ -194,7 +194,7 @@ For example:

```yml
- name: Link Checker
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # for v1.10.0
uses: lycheeverse/lychee-action@7da8ec1fc4e01b5a12062ac6c589c10a4ce70d67 # for v2.0.0
```

## Credits
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ runs:
# Remove the downloaded archive and any unnecessary files after installation
rm -f "${{ steps.lychee-setup.outputs.filename }}"
shopt -s extglob
rm -f lychee*!(lychee-bin|lychee-lib)
rm -f lychee!(*-bin|*-lib|*.toml)
shell: bash

- name: Run Lychee
Expand Down

0 comments on commit 0adf18c

Please sign in to comment.