Skip to content

Commit fb279b6

Browse files
authored
Update main.yml
1 parent cbfe288 commit fb279b6

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,26 @@ jobs:
2222
run: |
2323
Set-MpPreference -DisableRealtimeMonitoring $true
2424
25-
- name: Restore Cache
25+
- name: Restore BuildKit Cache
2626
uses: actions/cache/restore@v4
27-
id: restore-cache
27+
id: restore-buildkit-cache
2828
with:
2929
path: |
3030
buildkit
31-
buildkitd
32-
3331
key: buildkit-${{ runner.os }}-
3432
restore-keys: |
3533
buildkit-${{ runner.os }}-
3634
35+
- name: Restore BuildKit daemon Cache
36+
uses: actions/cache/restore@v4
37+
id: restore-buildkitd-cache
38+
with:
39+
path: |
40+
buildkitd
41+
key: buildkitd-${{ runner.os }}-
42+
restore-keys: |
43+
buildkitd-${{ runner.os }}-
44+
3745
- name: Log in to Container Registry
3846
uses: docker/login-action@v3
3947
with:
@@ -165,11 +173,18 @@ jobs:
165173
# --import-cache type=local,src=buildkit/.cache ^
166174
# --opt target=nano
167175

168-
- name: Save Cache
169-
id: cache-save
176+
- name: Save BuildKit Cache
177+
id: save-buildkit-cache
170178
uses: actions/cache/save@v4
171179
with:
172180
path: |
173181
buildkit
174-
buildkitd
175182
key: buildkit-${{ runner.os }}-
183+
184+
- name: Save BuildKit daemon Cache
185+
id: save-buildkitd-cache
186+
uses: actions/cache/save@v4
187+
with:
188+
path: |
189+
buildkitd
190+
key: buildkitd-${{ runner.os }}-

0 commit comments

Comments
 (0)