1
0
Fork 0

Change GitHub CI cache keys

They changed it so `runner.name` is no longer the 'name' of the runner
and it's now a generic string in the format `Github Actions $idx`.
This commit is contained in:
Robbert van der Helm 2022-11-12 02:22:46 +01:00
parent 2816b9418e
commit 148fc3379b
3 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- uses: actions/cache@v2
with:
if: "!startsWith(matrix.os, 'windows')"
@ -56,7 +56,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1

View file

@ -33,7 +33,7 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- uses: actions/cache@v2
with:
if: "!startsWith(matrix.os, 'windows')"
@ -42,7 +42,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1

View file

@ -44,7 +44,7 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- uses: actions/cache@v2
with:
if: "!startsWith(matrix.os, 'windows')"
@ -53,7 +53,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.name }}-${{ matrix.cross-target }}
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1