Skip to content

Commit

Permalink
iox-#2011 Fix warning in cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Sep 29, 2023
1 parent 8123f38 commit 5a1c298
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Calculate lychee cache key
run: echo "LYCHEE_CACHE_KEY=cache-lychee-all-branches-$(date +'%G-%V')" >> "$GITHUB_ENV" # %G = year; %V = week number

- name: Restore lychee cache
uses: actions/cache@v3
if: always()
with:
path: .lycheecache
key: cache-lychee-all-branches
# the cache will not be updated and therefore needs to be recreated after 7 days
retention-days: 7
key: ${{ env.LYCHEE_CACHE_KEY }}

- name: Link Checker
uses: lycheeverse/[email protected]
Expand Down

0 comments on commit 5a1c298

Please sign in to comment.