From 0aa9ab6c7bd3ac99d3eeed430a1f3e3d0fd5ba59 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Sat, 4 Jul 2026 08:21:57 +0000 Subject: [PATCH] ci: retain workspace artifacts in target-triple test --- .github/workflows/target-triple.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/target-triple.yml b/.github/workflows/target-triple.yml index 9ee3223..650d9d2 100644 --- a/.github/workflows/target-triple.yml +++ b/.github/workflows/target-triple.yml @@ -33,6 +33,7 @@ jobs: shared-key: target-triple-${{ matrix.os }}-${{ github.run_id }}-${{ github.run_attempt }} add-job-id-key: "false" add-rust-environment-hash-key: "false" + cache-workspace-crates: "true" - run: cargo check --target "$RUST_TARGET" working-directory: tests @@ -68,6 +69,7 @@ jobs: shared-key: target-triple-${{ matrix.os }}-${{ github.run_id }}-${{ github.run_attempt }} add-job-id-key: "false" add-rust-environment-hash-key: "false" + cache-workspace-crates: "true" save-if: "false" - name: Verify target-triple artifacts @@ -79,7 +81,7 @@ jobs: echo "The target-triple cache was not restored exactly." >&2 exit 1 fi - if ! compgen -G "tests/target/$RUST_TARGET/debug/deps/librust_cache-*" > /dev/null; then + if ! compgen -G "tests/target/$RUST_TARGET/debug/deps/rust_cache-*" > /dev/null; then echo "The target-triple artifacts were not restored." >&2 exit 1 fi