Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 21d2fbd

Browse files
committedSep 9, 2024·
Checkout is inevitable
1 parent fd38095 commit 21d2fbd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎.github/actions/generate-datasheets/action.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ inputs:
1212
runs:
1313
using: composite
1414
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 1
18+
1519
- uses: actions/cache@v4
1620
id: cache
1721
with:
1822
path: ${{ inputs.datasheets-path }}
1923
key: ${{ runner.os }}-datasheets-${{ hashFiles('**/*datasheet.md') }}
20-
21-
- uses: actions/checkout@v4
22-
if: steps.cache.outputs.cache-hit != 'true'
23-
with:
24-
fetch-depth: 1
24+
# FIXME: remove restore-keys when the cache is stable
25+
restore-keys: |
26+
${{ runner.os }}-datasheets-
2527
2628
- uses: actions/setup-node@v4
2729
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)
Please sign in to comment.