From 65be9a36a4a0e40cc92f0670f43c3b878f591c30 Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Thu, 2 Mar 2023 15:03:00 +0545 Subject: [PATCH] extract without mtime information --- .drone.star | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.star b/.drone.star index 1dff7fe56..e3c0d8198 100644 --- a/.drone.star +++ b/.drone.star @@ -420,7 +420,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], }, @@ -457,9 +457,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], },