Skip to content

Commit 2d14fb1

Browse files
authored
Merge pull request #6506 from dhalbert/7.3.x-auto-esp-cache-key-update
7.3.x auto esp cache key update
2 parents 4525bc7 + 111a25f commit 2d14fb1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ jobs:
382382
if: ${{ needs.test.outputs.boards-espressif != '[]' }}
383383
steps:
384384
- name: Set up Python 3
385-
uses: actions/setup-python@v2
385+
id: py3
386+
uses: actions/setup-python@v4
386387
with:
387388
python-version: "3.x"
388389
- uses: actions/[email protected]
@@ -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)