From 8773b42e8cc0f8b4895486553d778b04f53133a9 Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Mon, 30 Oct 2023 11:15:12 +0100 Subject: [PATCH] ci: add cache to release build --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0a149d5a..58314337 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -104,6 +104,13 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + with: + cache-targets: "true" + cache-on-failure: "true" + cache-all-crates: "true" + shared-key: "release-build" + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: