[Build/Release] Update actions/cache to v4

This commit is contained in:
Ton Huisman
2024-01-25 22:57:19 +01:00
parent fc61a48283
commit b77b9c4674
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}
@@ -67,16 +67,16 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp32') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp32-${{ hashFiles('platformio*.ini') }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp8266') }}
with:
path: ~/.platformio
@@ -121,7 +121,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}
+4 -4
View File
@@ -40,16 +40,16 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp32') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp32-${{ hashFiles('platformio*.ini') }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp8266') }}
with:
path: ~/.platformio
@@ -85,7 +85,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}