From 5fb4ea0d7f9edc3add17e318ef8d3638bd84f1fe Mon Sep 17 00:00:00 2001 From: Yeela Lifshitz Date: Sun, 11 Aug 2024 21:35:02 +0300 Subject: [PATCH] add missing condition to read artifact step --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 158666f0..407b6d1e 100644 --- a/action.yml +++ b/action.yml @@ -124,6 +124,7 @@ runs: name: output - name: Read artifact content + if: ${{ fromJson(inputs.client_payload).shouldUseCache == 'true' && fromJson(inputs.client_payload).isCacheEnable == 'true' }} id: read-artifact shell: bash run: |