Skip to content

Commit f64d15c

Browse files
authored
Update main.yml
1 parent 625e21d commit f64d15c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: restore-buildkit-cache
2828
with:
2929
path: |
30-
buildkit.tar.zst
30+
buildkit.tar
3131
key: buildkit-${{ runner.os }}-
3232
restore-keys: |
3333
buildkit-${{ runner.os }}-
@@ -37,7 +37,7 @@ jobs:
3737
id: restore-droot-cache
3838
with:
3939
path: |
40-
droot
40+
droot.tar
4141
key: droot-${{ runner.os }}-
4242
restore-keys: |
4343
droot-${{ runner.os }}-
@@ -46,12 +46,12 @@ jobs:
4646
shell: pwsh
4747
run: |
4848
if ((Test-Path "buildkit.tar.zst")) {
49-
tar --zstd -xvf buildkit.tar.zst
49+
tar -xvf buildkit.tar
5050
Write-Host "✅ unpacked buildkit!"
5151
}
5252
5353
if ((Test-Path "droot.tar.zst")) {
54-
tar --zstd -xvf droot.tar.zst
54+
tar -xvf droot.tar
5555
Write-Host "✅ unpacked daemons root!"
5656
}
5757
@@ -181,7 +181,9 @@ jobs:
181181
- name: Pack cache
182182
shell: pwsh
183183
run: |
184-
tar --zstd -cvf droot.tar.zst droot
184+
tar -cvf buildkit.tar buildkit
185+
Write-Host "✅ packed buildkit!"
186+
tar -cvf droot.tar droot
185187
Write-Host "✅ packed daemons root!"
186188
187189
#- name: Build app image
@@ -198,13 +200,13 @@ jobs:
198200
uses: actions/cache/save@v4
199201
with:
200202
path: |
201-
buildkit
203+
buildkit.tar
202204
key: buildkit-${{ runner.os }}-
203205

204206
- name: Save Daemon Cache
205207
id: save-droot-cache
206208
uses: actions/cache/save@v4
207209
with:
208210
path: |
209-
droot.tar.zst
211+
droot.tar
210212
key: droot-${{ runner.os }}-

0 commit comments

Comments
 (0)