Caching issue
This commit is contained in:
12
action.yml
12
action.yml
@@ -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
|
||||||
|
#fi
|
||||||
|
# seems there is a caching issue sometimes, install.sh should be fast if already installed
|
||||||
$(realpath -s "${{ inputs.idfpath }}")/install.sh
|
$(realpath -s "${{ inputs.idfpath }}")/install.sh
|
||||||
fi
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user