Skip to content

Commit cb4aca1

Browse files
committed
Switch actions/cache@v4
1 parent 36b804b commit cb4aca1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
toolchain: stable
2121
override: true
2222
- name: Cache protobuf
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
2525
key: pb-linux-3.19.4
2626
path: ~/pb
@@ -65,7 +65,7 @@ jobs:
6565
toolchain: beta
6666
override: true
6767
- name: Cache protobuf
68-
uses: actions/cache@v2
68+
uses: actions/cache@v4
6969
with:
7070
key: pb-linux-3.19.4
7171
path: ~/pb
@@ -110,7 +110,7 @@ jobs:
110110
toolchain: stable
111111
override: true
112112
- name: Cache protobuf
113-
uses: actions/cache@v2
113+
uses: actions/cache@v4
114114
with:
115115
key: pb-linux-3.19.4
116116
path: ~/pb
@@ -152,7 +152,7 @@ jobs:
152152
toolchain: nightly
153153
override: true
154154
- name: Cache protobuf
155-
uses: actions/cache@v2
155+
uses: actions/cache@v4
156156
with:
157157
key: pb-linux-3.19.4
158158
path: ~/pb
@@ -196,7 +196,7 @@ jobs:
196196
toolchain: stable
197197
override: true
198198
- name: Cache protobuf
199-
uses: actions/cache@v2
199+
uses: actions/cache@v4
200200
with:
201201
key: pb-windows-3.19.4
202202
path: ~/pb
@@ -267,7 +267,7 @@ jobs:
267267
- name: Checkout sources
268268
uses: actions/checkout@v2
269269
- name: Cache protobuf
270-
uses: actions/cache@v2
270+
uses: actions/cache@v4
271271
with:
272272
key: pb-linux-3.19.4
273273
path: ~/pb

ci-gen/src/actions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub fn cargo_doc(name: &str, args: &str) -> Step {
9292
pub fn cache(name: &str, key: &str, path: &str) -> Step {
9393
Step::uses_env_with(
9494
name,
95-
"actions/cache@v2",
95+
"actions/cache@v4",
9696
&[("cache-name", "pb")],
9797
Yaml::map(vec![("key", key), ("path", path)]),
9898
)

0 commit comments

Comments
 (0)