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