Skip to content

Commit 0aa73da

Browse files
authored
Merge pull request #6494 from jepler/include-py-verion-in-key
include python executable path in the idf key
2 parents 7294c5f + 8ed7910 commit 0aa73da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ jobs:
382382
if: ${{ needs.test.outputs.boards-espressif != '[]' }}
383383
steps:
384384
- name: Set up Python 3
385+
id: py3
385386
uses: actions/setup-python@v2
386387
with:
387388
python-version: "3.x"
@@ -400,7 +401,7 @@ jobs:
400401
id: idf-cache
401402
with:
402403
path: ${{ github.workspace }}/.idf_tools
403-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/espressif/esp-idf/HEAD') }}-20220404
404+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/espressif/esp-idf/HEAD') }}-${{ steps.py3.outputs.python-path }}-20220404
404405
- name: Clone IDF submodules
405406
run: |
406407
(cd $IDF_PATH && git submodule update --init)

0 commit comments

Comments
 (0)