Skip to content

Commit e9b5d78

Browse files
blackspherefollowerqdot
authored andcommittedMar 17, 2025·
build: Fix deprecated actions cache
1 parent c6e8bee commit e9b5d78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
if: startsWith(matrix.os, 'ubuntu')
3030
run: sudo apt-get -y install libudev-dev libusb-1.0-0-dev libdbus-1-dev
3131
- name: Cache cargo registry
32-
uses: actions/cache@v1
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/.cargo/registry
3535
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('.github/workflows/cache_version') }}
3636
- name: Cache cargo build
37-
uses: actions/cache@v1
37+
uses: actions/cache@v4
3838
with:
3939
path: target
4040
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('.github/workflows/cache_version') }}
@@ -72,12 +72,12 @@ jobs:
7272
- name: Install required packages
7373
run: sudo apt-get -y install libudev-dev libusb-1.0-0-dev libdbus-1-dev
7474
- name: Cache cargo registry
75-
uses: actions/cache@v1
75+
uses: actions/cache@v4
7676
with:
7777
path: ~/.cargo/registry
7878
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('.github/workflows/cache_version') }}
7979
- name: Cache cargo build
80-
uses: actions/cache@v1
80+
uses: actions/cache@v4
8181
with:
8282
path: target
8383
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('.github/workflows/cache_version') }}

0 commit comments

Comments
 (0)
Please sign in to comment.