From b217d8cdfadb2af0778ea8c02d58a0d46337de4a Mon Sep 17 00:00:00 2001 From: Fotos Georgiadis Date: Sat, 26 Feb 2022 16:03:36 +0100 Subject: [PATCH] fix: quote cache keys that start with special characters --- src/commands/pod_install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/pod_install.yml b/src/commands/pod_install.yml index cdd3c2b..39dcf23 100644 --- a/src/commands/pod_install.yml +++ b/src/commands/pod_install.yml @@ -20,8 +20,8 @@ steps: steps: - restore_cache: keys: - - {{ .Environment.CACHE_VERSION }}-cache-pods-{{ checksum "<>/Podfile.lock" }} - - {{ .Environment.CACHE_VERSION }}-cache-pods + - '{{ .Environment.CACHE_VERSION }}-cache-pods-{{ checksum "<>/Podfile.lock" }}' + - '{{ .Environment.CACHE_VERSION }}-cache-pods' - run: name: Install CocoaPods command: | @@ -32,4 +32,4 @@ steps: - save_cache: paths: - <>/Pods - key: {{ .Environment.CACHE_VERSION }}-cache-pods-{{ checksum "<>/Podfile.lock" }} + key: '{{ .Environment.CACHE_VERSION }}-cache-pods-{{ checksum "<>/Podfile.lock" }}'