File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,12 @@ jobs:
26
26
is-high-risk-environment : false
27
27
- name : Build
28
28
run : yarn build
29
- - name : Cache Snap build
30
- uses : actions/cache@v3
29
+ - name : Upload Snap build artifact
30
+ uses : actions/upload-artifact@v4
31
31
with :
32
+ name : snap-${{ runner.os }}-${{ github.sha }}
32
33
path : ./packages/snap/dist
33
- key : snap-${{ runner.os }}-${{ github.sha }}
34
+ retention-days : 1
34
35
- name : Require clean working directory
35
36
shell : bash
36
37
run : |
@@ -70,11 +71,11 @@ jobs:
70
71
uses : MetaMask/action-checkout-and-setup@v1
71
72
with :
72
73
is-high-risk-environment : false
73
- - name : Restore Snap build cache
74
- uses : actions/cache@v3
74
+ - name : Download Snap build artifact
75
+ uses : actions/download-artifact@v4
75
76
with :
77
+ name : snap-${{ runner.os }}-${{ github.sha }}
76
78
path : ./packages/snap/dist
77
- key : snap-${{ runner.os }}-${{ github.sha }}
78
79
- name : Run e2e tests
79
80
run : yarn workspace snap run test
80
81
- name : Require clean working directory
You can’t perform that action at this time.
0 commit comments