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 28, 2023
1 parent 8123f38 commit 8deab7e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/lint_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Calculate lychee cache key
id: lychee-cache-key
run: echo "::set-output name=key::$(date +'%G-%V')" # %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: cache-lychee-all-branches-${{ steps.lychee-cache-key.outputs.key }}

- name: Link Checker
uses: lycheeverse/lychee-action@v1.8.0
Expand Down

0 comments on commit 8deab7e

Please sign in to comment.