Caching issue

This commit is contained in:
2021-11-26 00:13:19 +01:00
committed by GitHub
parent 6c23d08130
commit ac8fb4c637

View File

@@ -27,10 +27,12 @@ runs:
#if: steps.cache-espressif.outputs.cache-hit != 'true' #if: steps.cache-espressif.outputs.cache-hit != 'true'
#run: $(realpath -s "${{ inputs.idfpath }}")/install.sh #run: $(realpath -s "${{ inputs.idfpath }}")/install.sh
run: | run: |
if echo ${{ steps.cache-espressif.outputs.cache-hit }} | grep -c "true" #if echo ${{ steps.cache-espressif.outputs.cache-hit }} | grep -c "true"
then #then
echo "Cache hit - skipping esp-idf install" # echo "Cache hit - skipping esp-idf install"
else #else
$(realpath -s "${{ inputs.idfpath }}")/install.sh # $(realpath -s "${{ inputs.idfpath }}")/install.sh
fi #fi
# seems there is a caching issue sometimes, install.sh should be fast if already installed
$(realpath -s "${{ inputs.idfpath }}")/install.sh
shell: bash shell: bash