From 538689093e2e4ed98fb9831b10c6b68b7ada6b8c Mon Sep 17 00:00:00 2001 From: max-ishere <47008271+max-ishere@users.noreply.github.com> Date: Tue, 13 Feb 2024 23:15:50 +0200 Subject: [PATCH] ci: Didnt cache everything that should have been cached --- .github/workflows/cargo-build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index d3ca866..c6d3500 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -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') }} @@ -38,3 +43,6 @@ jobs: - name: build run: cargo build --release ${{ matrix.target }} --keep-going --verbose + + - name: Debug $CARGO_HOME + run: echo $CARGO_HOME