File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 8282 --max-redirects 100
8383 --accept 200,403,429,500
8484 --cache
85- --max-cache-age 1d
85+ --max-cache-age 7d
8686 './**/*.md'
8787 --exclude './ar/**'
8888 --exclude './de/**'
@@ -113,7 +113,7 @@ jobs:
113113 # CACHE SAVE STEP - Different Behavior Based on Scenario
114114 # =========================================================================
115115 - name : Save lychee cache
116- if : always()
116+ if : steps.restore-cache.outputs.cache-hit != 'true'
117117 uses : actions/cache/save@v4.3.0
118118 with :
119119 path : .lycheecache
@@ -123,9 +123,9 @@ jobs:
123123 if : always()
124124 run : |
125125 if [ "${{ steps.restore-cache.outputs.cache-hit }}" = "true" ]; then
126- echo "✅ Cache was updated with fresh link data"
126+ echo "✅ Cache refreshed with link data from the last 7 days "
127127 else
128- echo "🆕 New cache created with all link check results"
128+ echo "🆕 New cache created with current link check results"
129129 fi
130130
131131 # Upload report as artifact if broken links are found
@@ -135,7 +135,6 @@ jobs:
135135 with :
136136 name : lychee-report
137137 path : lychee-report.md
138- retention-days : 30
139138
140139 # To avoid automated spam, try to find an existing open issue before opening a new one
141140 # Source: https://github.com/cilium/tetragon/pull/805
You can’t perform that action at this time.
0 commit comments