Skip to content

Commit 31a39b5

Browse files
committed
Upgrade actions/cache@v1 -> v4
1 parent 5c3ae1b commit 31a39b5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
sudo apt-get install libsdl2-image-dev
2626
2727
- name: Cache cargo registry
28-
uses: actions/cache@v1
28+
uses: actions/cache@v4
2929
with:
3030
path: ~/.cargo/registry
3131
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
3232
- name: Cache cargo index
33-
uses: actions/cache@v1
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.cargo/git
3636
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
3737
- name: Cache cargo build
38-
uses: actions/cache@v1
38+
uses: actions/cache@v4
3939
with:
4040
path: target
4141
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
@@ -71,17 +71,17 @@ jobs:
7171
run: rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android
7272

7373
- name: Cache cargo registry
74-
uses: actions/cache@v1
74+
uses: actions/cache@v4
7575
with:
7676
path: ~/.cargo/registry
7777
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
7878
- name: Cache cargo index
79-
uses: actions/cache@v1
79+
uses: actions/cache@v4
8080
with:
8181
path: ~/.cargo/git
8282
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
8383
- name: Cache cargo build
84-
uses: actions/cache@v1
84+
uses: actions/cache@v4
8585
with:
8686
path: target
8787
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
@@ -110,17 +110,17 @@ jobs:
110110
- run: rustup target add x86_64-pc-windows-msvc
111111

112112
- name: Cache cargo registry
113-
uses: actions/cache@v1
113+
uses: actions/cache@v4
114114
with:
115115
path: ~/.cargo/registry
116116
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
117117
- name: Cache cargo index
118-
uses: actions/cache@v1
118+
uses: actions/cache@v4
119119
with:
120120
path: ~/.cargo/git
121121
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
122122
- name: Cache cargo build
123-
uses: actions/cache@v1
123+
uses: actions/cache@v4
124124
with:
125125
path: target
126126
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)