Skip to content

Commit a4e32a5

Browse files
committed
Update version for actions/cache according to github annoucement
1 parent 1779f1e commit a4e32a5

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/macOS.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525

2626
- name: Cache pip macOS
27-
uses: actions/cache@v1
27+
uses: actions/cache@v4
2828
if: startsWith(runner.os, 'macOS')
2929
with:
3030
path: ~/Library/Caches/pip
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Cache Homebrew Downloads
3636
if: startsWith(runner.os, 'macOS')
37-
uses: actions/cache@v1
37+
uses: actions/cache@v4
3838
with:
3939
path: ~/Library/Caches/Homebrew
4040
# key: ${{ runner.OS }}-build-downloads-${{ hashFiles('**/package-lock.json') }}
@@ -45,7 +45,7 @@ jobs:
4545
4646
# - name: Cache Homebrew
4747
# if: matrix.os == 'macOS-latest'
48-
# uses: actions/cache@v1
48+
# uses: actions/cache@v4
4949
# with:
5050
# path: /usr/local/Homebrew
5151
# # key: ${{ runner.OS }}-build-localbrew-${{ hashFiles('**/package-lock.json') }}
@@ -62,7 +62,7 @@ jobs:
6262
message("::set-output name=timestamp::${current_date}")
6363
6464
- name: ccache cache files
65-
uses: actions/cache@v1.1.0
65+
uses: actions/cache@v4
6666
with:
6767
path: ${{runner.workspace}}/.ccache
6868
key: ${{ runner.OS }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}

.github/workflows/releaseDoc.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
git fetch --prune --unshallow
2828
2929
- name: Cache pip Linux
30-
uses: actions/cache@v1
30+
uses: actions/cache@v4
3131
if: startsWith(runner.os, 'Linux')
3232
with:
3333
path: ~/.cache/pip
@@ -36,7 +36,7 @@ jobs:
3636
${{ runner.os }}-pip-
3737
3838
- name: Cache pip macOS
39-
uses: actions/cache@v1
39+
uses: actions/cache@v4
4040
if: startsWith(runner.os, 'macOS')
4141
with:
4242
path: ~/Library/Caches/pip
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os }}-pip-
4646
4747
- name: ccache cache files
48-
uses: actions/cache@v1.1.0
48+
uses: actions/cache@v4
4949
with:
5050
path: ${{runner.workspace}}/.ccache
5151
key: ${{ runner.OS }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
@@ -61,7 +61,7 @@ jobs:
6161
run: cmake -E make_directory ${{runner.workspace}}/build
6262

6363
- name: Cache CCache
64-
uses: actions/cache@v1
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.ccache
6767
# key: ${{ runner.OS }}-build-ccache-${{ hashFiles('**/package-lock.json') }}

.github/workflows/ubuntu22.04.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
git fetch --prune --unshallow
2828
2929
- name: Cache pip Linux
30-
uses: actions/cache@v1
30+
uses: actions/cache@v4
3131
if: startsWith(runner.os, 'Linux')
3232
with:
3333
path: ~/.cache/pip
@@ -36,7 +36,7 @@ jobs:
3636
${{ runner.os }}-pip-
3737
3838
- name: Cache pip macOS
39-
uses: actions/cache@v1
39+
uses: actions/cache@v4
4040
if: startsWith(runner.os, 'macOS')
4141
with:
4242
path: ~/Library/Caches/pip
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os }}-pip-
4646
4747
- name: ccache cache files
48-
uses: actions/cache@v1.1.0
48+
uses: actions/cache@v4
4949
with:
5050
path: ${{runner.workspace}}/.ccache
5151
key: ${{ runner.OS }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
@@ -61,7 +61,7 @@ jobs:
6161
run: cmake -E make_directory ${{runner.workspace}}/build
6262

6363
- name: Cache CCache
64-
uses: actions/cache@v1
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.ccache
6767
# key: ${{ runner.OS }}-build-ccache-${{ hashFiles('**/package-lock.json') }}

.github/workflows/ubuntu24.04.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
git fetch --prune --unshallow
2828
2929
- name: Cache pip Linux
30-
uses: actions/cache@v1
30+
uses: actions/cache@v4
3131
if: startsWith(runner.os, 'Linux')
3232
with:
3333
path: ~/.cache/pip
@@ -36,7 +36,7 @@ jobs:
3636
${{ runner.os }}-pip-
3737
3838
- name: Cache pip macOS
39-
uses: actions/cache@v1
39+
uses: actions/cache@v4
4040
if: startsWith(runner.os, 'macOS')
4141
with:
4242
path: ~/Library/Caches/pip
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os }}-pip-
4646
4747
- name: ccache cache files
48-
uses: actions/cache@v1.1.0
48+
uses: actions/cache@v4
4949
with:
5050
path: ${{runner.workspace}}/.ccache
5151
key: ${{ runner.OS }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
@@ -61,7 +61,7 @@ jobs:
6161
run: cmake -E make_directory ${{runner.workspace}}/build
6262

6363
- name: Cache CCache
64-
uses: actions/cache@v1
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.ccache
6767
# key: ${{ runner.OS }}-build-ccache-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)