Update to actions/cache@v5 and actions/upload-artifact@v6

This commit is contained in:
bjorn3
2026-03-20 14:15:49 +01:00
parent 18a28f04f2
commit 4ff5ba2393
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
run: .github/scripts/free-disk-space.sh
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
+4 -4
View File
@@ -95,7 +95,7 @@ jobs:
run: cat /proc/cpuinfo
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain.toml', '**/Cargo.lock') }}
@@ -165,7 +165,7 @@ jobs:
run: cat /proc/cpuinfo
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-x86_64-unknown-linux-gnu-cargo-build-target-${{ hashFiles('rust-toolchain.toml', '**/Cargo.lock') }}
@@ -214,7 +214,7 @@ jobs:
- uses: actions/checkout@v6
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-dist-cargo-build-target-${{ hashFiles('rust-toolchain.toml', '**/Cargo.lock') }}
@@ -233,7 +233,7 @@ jobs:
run: tar cvfJ cg_clif.tar.xz dist
- name: Upload prebuilt cg_clif
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: cg_clif-${{ matrix.env.TARGET_TRIPLE }}
path: cg_clif.tar.xz
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
run: cat /proc/cpuinfo
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-rustc-test-cargo-build-target-${{ hashFiles('rust-toolchain.toml', 'Cargo.lock') }}
@@ -37,7 +37,7 @@ jobs:
run: cat /proc/cpuinfo
- name: Cache cargo target dir
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: build/cg_clif
key: ${{ runner.os }}-rustc-test-cargo-build-target-${{ hashFiles('rust-toolchain.toml', 'Cargo.lock') }}