File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 68
68
69
69
- name : Restore cache
70
70
if : github.event_name != 'workflow_dispatch' || fromJSON(github.event.inputs.useCache)
71
- uses : actions /cache/restore@v4
71
+ uses : buildjet /cache/restore@v4
72
72
with :
73
73
path : .buildx-cache-${{ matrix.policy }}_${{ matrix.platform }}/*
74
74
key : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}
@@ -78,15 +78,13 @@ jobs:
78
78
79
79
- name : Delete cache
80
80
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
81
- run : |
82
- KEY="buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}"
83
- gh cache delete ${KEY} || true
84
- env :
85
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
+ uses : buildjet/cache-delete@v1
82
+ with :
83
+ cache_key : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}
86
84
87
85
- name : Save cache
88
86
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
89
- uses : actions /cache/save@v4
87
+ uses : buildjet /cache/save@v4
90
88
with :
91
89
path : .buildx-cache-${{ matrix.policy }}_${{ matrix.platform }}/*
92
90
key : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments