Skip to content

Commit 2c89c9e

Browse files
committed
Get blocks from cache in daily workflow
1 parent b13de6d commit 2c89c9e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/daily.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@ jobs:
2222
with:
2323
path: cairo_native
2424

25+
- name: Restore blocks list
26+
uses: actions/cache/restore@v4.2.0
27+
with:
28+
path: ./blocks.txt
29+
key: blocks-list
30+
2531
- name: Parse blocks file
2632
id: parse-blocks
2733
run: |
28-
content=`cat ./cairo_native/.github/replay-blocks.txt`
34+
content=`cat ./blocks.txt`
2935
echo "blocks_list=$(jq 'split(",")' -Rc <(echo $content))" >> $GITHUB_OUTPUT
3036
3137

.github/workflows/vm-replay.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
path: ./blocks.txt
3535
key: blocks-list
3636

37-
3837
run:
3938
needs: setup
4039
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)