From ac8fb4c6375f3563da433c5c4c672e382b98abcb Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Fri, 26 Nov 2021 00:13:19 +0100 Subject: [PATCH] Caching issue --- action.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 059f434..4734939 100644 --- a/action.yml +++ b/action.yml @@ -27,10 +27,12 @@ runs: #if: steps.cache-espressif.outputs.cache-hit != 'true' #run: $(realpath -s "${{ inputs.idfpath }}")/install.sh run: | - if echo ${{ steps.cache-espressif.outputs.cache-hit }} | grep -c "true" - then - echo "Cache hit - skipping esp-idf install" - else - $(realpath -s "${{ inputs.idfpath }}")/install.sh - fi + #if echo ${{ steps.cache-espressif.outputs.cache-hit }} | grep -c "true" + #then + # echo "Cache hit - skipping esp-idf install" + #else + # $(realpath -s "${{ inputs.idfpath }}")/install.sh + #fi + # seems there is a caching issue sometimes, install.sh should be fast if already installed + $(realpath -s "${{ inputs.idfpath }}")/install.sh shell: bash