We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d2d38 commit b75efa7Copy full SHA for b75efa7
.github/workflows/update-leetcode-grid.yml
@@ -20,11 +20,12 @@ jobs:
20
- name: Checkout repository
21
uses: actions/checkout@v5
22
23
- - name: Restore LeetCode API cache
24
- uses: actions/cache/restore@v4
+ - name: Restore last processed commit
+ id: last_commit_cache
25
+ uses: actions/cache@v4
26
with:
- path: .leetcode_cache.json
27
- key: leetcode-cache
+ path: .last_leetcode_commit
28
+ key: leetcode-last-commit
29
30
# - name: Load last processed commit SHA
31
# id: last_commit
@@ -64,7 +65,7 @@ jobs:
64
65
pip install pyyaml requests
66
67
- name: Restore LeetCode API cache
- uses: actions/cache@v4
68
+ uses: actions/cache/restore@v4
69
70
path: .leetcode_cache.json
71
key: leetcode-cache
0 commit comments