ci: see if caching is causing build failures

Signed-off-by: Jim Crossley <jim@crossleys.org>
This commit is contained in:
Jim Crossley 2023-10-18 09:58:45 -04:00
parent e001b9cd8b
commit 957ef1aa6d
Failed to extract signature
1 changed files with 14 additions and 14 deletions

View File

@ -31,20 +31,20 @@ jobs:
- run: sudo apt-get install -y musl musl-dev musl-tools cmake - run: sudo apt-get install -y musl musl-dev musl-tools cmake
if: matrix.target == 'x86_64-unknown-linux-musl' if: matrix.target == 'x86_64-unknown-linux-musl'
# Caching stuff # # Caching stuff
- uses: actions/cache@v2 # - uses: actions/cache@v2
with: # with:
path: | # path: |
~/.cargo/bin/ # ~/.cargo/bin/
~/.cargo/registry/index/ # ~/.cargo/registry/index/
~/.cargo/registry/cache/ # ~/.cargo/registry/cache/
~/.cargo/git/db/ # ~/.cargo/git/db/
key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.toml') }} # key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.toml') }}
- uses: actions/cache@v2 # - uses: actions/cache@v2
with: # with:
path: | # path: |
target/ # target/
key: ${{ runner.os }}-cargo-target-${{ matrix.toolchain }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }} # key: ${{ runner.os }}-cargo-target-${{ matrix.toolchain }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}