diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2023-12-31 00:23:33 +0100 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2023-12-31 00:23:33 +0100 |
| commit | 06f0de164e801cc52bc593a298659196d9398369 (patch) | |
| tree | ffffbf11f7f8756c11420f39eba0785ad6288442 /save_artifact.sh | |
| parent | dab29fefff3b2623e6b1f9f16d27cb1e385423c1 (diff) | |
fix caching
Diffstat (limited to 'save_artifact.sh')
| -rwxr-xr-x | save_artifact.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save_artifact.sh b/save_artifact.sh index a58d6d2..dd8dc45 100755 --- a/save_artifact.sh +++ b/save_artifact.sh @@ -6,7 +6,7 @@ cache_name="$1" cache_key="$2" path_to_file_="$3" -if [[ -f "/tmp/cache_hit_$(echo "$3" | md5sum)" ]]; +if [[ -f "/tmp/cache_hit_$(echo "$3" | md5sum | awk '{ print $1 }')" ]]; then echo "was cached $1 $2 $(basename $path_to_file_)" exit 0 |
