Skip to content

Commit

Permalink
ci: Didnt cache everything that should have been cached
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ishere committed Feb 13, 2024
1 parent 400c7f0 commit 5386890
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/cargo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v4
- uses: actions/cache@v3
with:
path: target/
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: cargo-build-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cargo-build-${{ hashFiles('Cargo.lock') }}
Expand All @@ -38,3 +43,6 @@ jobs:
- name: build
run: cargo build --release ${{ matrix.target }} --keep-going --verbose

- name: Debug $CARGO_HOME
run: echo $CARGO_HOME

0 comments on commit 5386890

Please sign in to comment.