Skip to content

Commit

Permalink
Fix path for cargo-leptos-Windows cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Aug 17, 2024
1 parent 4303953 commit e424cc7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e424cc7

Please sign in to comment.