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'
#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