Skip to content

Commit 37c8f9b

Browse files
committed
πŸ”§ Update GitHub Actions to v4
Fix deprecated action versions: - actions/upload-artifact@v3 β†’ v4 - actions/download-artifact@v3 β†’ v4 - actions/cache@v3 β†’ v4 This resolves the 'automatically failed' errors
1 parent 266dd12 commit 37c8f9b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ jobs:
2424
uses: dtolnay/rust-toolchain@stable
2525

2626
- name: Cache cargo registry
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.cargo/registry
3030
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
3131

3232
- name: Cache cargo index
33-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.cargo/git
3636
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
3737

3838
- name: Cache cargo build
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
path: target
4242
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
@@ -105,19 +105,19 @@ jobs:
105105
EOF
106106
107107
- name: Cache cargo registry
108-
uses: actions/cache@v3
108+
uses: actions/cache@v4
109109
with:
110110
path: ~/.cargo/registry
111111
key: ${{ runner.os }}-${{ matrix.target }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
112112

113113
- name: Cache cargo index
114-
uses: actions/cache@v3
114+
uses: actions/cache@v4
115115
with:
116116
path: ~/.cargo/git
117117
key: ${{ runner.os }}-${{ matrix.target }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
118118

119119
- name: Cache cargo build
120-
uses: actions/cache@v3
120+
uses: actions/cache@v4
121121
with:
122122
path: target
123123
key: ${{ runner.os }}-${{ matrix.target }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
@@ -151,7 +151,7 @@ jobs:
151151
chmod +x artifacts/${{ matrix.name }}
152152
153153
- name: Upload artifact
154-
uses: actions/upload-artifact@v3
154+
uses: actions/upload-artifact@v4
155155
with:
156156
name: ${{ matrix.name }}
157157
path: artifacts/${{ matrix.name }}
@@ -167,7 +167,7 @@ jobs:
167167
uses: actions/checkout@v4
168168

169169
- name: Download all artifacts
170-
uses: actions/download-artifact@v3
170+
uses: actions/download-artifact@v4
171171
with:
172172
path: artifacts
173173

0 commit comments

Comments
Β (0)