1
0
Fork 0

Don't cache the target directory

This seems to cause the Windows CI runner to blow up.
This commit is contained in:
Robbert van der Helm 2022-11-04 16:36:08 +01:00
parent d737c5098f
commit 8c25d8b092
3 changed files with 3 additions and 4 deletions

View file

@ -41,11 +41,11 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
path: | path: |
~/.cargo/registry/index/ ~/.cargo/registry/index/
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }} key: ${{ runner.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain - name: Set up Rust toolchain

View file

@ -27,12 +27,11 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
path: | path: |
~/.cargo/bin/
~/.cargo/registry/index/ ~/.cargo/registry/index/
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }} key: ${{ runner.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain - name: Set up Rust toolchain

View file

@ -38,11 +38,11 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
path: | path: |
~/.cargo/registry/index/ ~/.cargo/registry/index/
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }} key: ${{ runner.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain - name: Set up Rust toolchain