From c9afc7c16a46cd5d0affa7aaef0dc6c89c6e2dec Mon Sep 17 00:00:00 2001 From: Gregory Haddow Date: Fri, 10 Mar 2023 08:05:54 +0000 Subject: [PATCH] fix: fix pass-fast cache key --- src/commands/pass-fast.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/pass-fast.yml b/src/commands/pass-fast.yml index 29d84e9..6ec5692 100755 --- a/src/commands/pass-fast.yml +++ b/src/commands/pass-fast.yml @@ -23,7 +23,7 @@ steps: - restore_cache: name: Getting job history keys: - - pass-{{ .Environment.CIRCLE_JOB }}-{{ .Environment.CIRCLE_NODE_INDEX }}-$CIRCLE_PIPELINE_ID + - pass-{{ .Environment.CIRCLE_JOB }}-{{ .Environment.CIRCLE_NODE_INDEX }}-<< parameters.pipeline-id >> - run: name: Restoring previous artifacts environment: @@ -50,6 +50,6 @@ steps: command: << include(scripts/pass-fast/record.sh) >> - save_cache: name: Saving job success for this revision - key: pass-{{ .Environment.CIRCLE_JOB }}-{{ .Environment.CIRCLE_NODE_INDEX }}-$CIRCLE_PIPELINE_ID + key: pass-{{ .Environment.CIRCLE_JOB }}-{{ .Environment.CIRCLE_NODE_INDEX }}-<< parameters.pipeline-id >> paths: - .pass