extract without mtime information

This commit is contained in:
Saw-jan committed 2023-03-03 12:02:13 +05:45
1 parent d62ec0e4f1
commit a71dbacc62
1 file changed
+2 -4
+2 -4
View File
@@ -416,7 +416,7 @@ def cacheGoBin():
"name": "archive-go-bin",
"image": OC_UBUNTU,
"commands": [
"tar -czvf %s -C /go/bin ." % dirs["gobinTarPath"],
"tar -czvf %s /go/bin" % dirs["gobinTarPath"],
],
"volumes": [stepVolumeGo],
},
@@ -453,9 +453,7 @@ def restoreGoBinCache():
"name": "extract-go-bin-cache",
"image": OC_UBUNTU,
"commands": [
"mkdir -p /go/bin",
"tar -xvf %s -C /go/bin" % dirs["gobinTarPath"],
"chmod +x /go/bin/*",
"tar -xvmf %s -C /" % dirs["gobinTarPath"],
],
"volumes": [stepVolumeGo],
},