From e424cc738cd922a313d54f7dce1dbdc5b45b2c2d Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 17 Aug 2024 18:34:51 +1200 Subject: [PATCH] Fix path for `cargo-leptos-Windows` cache. --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b951f2..5baddcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: cargo-about cache id: cargo-about-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/bin/cargo-about key: cargo-about-${{ runner.os }} @@ -140,7 +140,7 @@ jobs: - name: cargo-leptos cache id: cargo-leptos-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/bin/cargo-leptos key: cargo-leptos-${{ runner.os }} @@ -188,15 +188,16 @@ jobs: - name: cargo-leptos cache id: cargo-leptos-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: - path: ~/.cargo/bin/cargo-leptos + path: 'C:\Users\runneradmin\.cargo\bin\cargo-leptos.exe' key: cargo-leptos-${{ runner.os }} - name: cargo-leptos install if: steps.cargo-leptos-cache.outputs.cache-hit != 'true' # --locked: fix is in-progress at https://github.com/leptos-rs/cargo-leptos/pull/274 - run: cargo install cargo-leptos --locked + run: |- + cargo install cargo-leptos --locked - name: 'Build playground' working-directory: ./playground