fix(ci): change cache key

This commit is contained in:
Lucas Nogueira 2022-06-14 19:29:52 -03:00
parent 4ce8e22813
commit aff6538a5c
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1
11 changed files with 36 additions and 36 deletions

View File

@ -58,7 +58,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -74,7 +74,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date
@ -89,7 +89,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date

View File

@ -58,7 +58,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -74,7 +74,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date
@ -89,7 +89,7 @@ jobs:
- name: cache cargo `tooling/bench/tests` target
uses: actions/cache@v2
env:
cache-name: cargo-benches
cache-name: cargo_benches
with:
path: tooling/bench/tests/target
# Add date to the cache to keep it up to date

View File

@ -43,7 +43,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -59,7 +59,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date
@ -74,7 +74,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date

View File

@ -66,7 +66,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -82,7 +82,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date

View File

@ -81,7 +81,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -97,7 +97,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date

View File

@ -50,7 +50,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -66,7 +66,7 @@ jobs:
- name: Cache bundler cargo target
uses: actions/cache@v2
env:
cache-name: cargo-bundler
cache-name: cargo_bundler
with:
path: tooling/bundler/target
# Add date to the cache to keep it up to date
@ -125,7 +125,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -141,7 +141,7 @@ jobs:
- name: Cache bundler cargo target
uses: actions/cache@v2
env:
cache-name: cargo-bundler
cache-name: cargo_bundler
with:
path: tooling/bundler/target
# Add date to the cache to keep it up to date

View File

@ -57,7 +57,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -73,7 +73,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date
@ -130,7 +130,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -146,7 +146,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date
@ -161,7 +161,7 @@ jobs:
- name: Cache template cargo target
uses: actions/cache@v2
env:
cache-name: cargo-template
cache-name: cargo_template
with:
path: tooling/cli/node/test/jest/fixtures/empty/src-tauri/target
# Add date to the cache to keep it up to date

View File

@ -57,7 +57,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -73,7 +73,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date

View File

@ -62,7 +62,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -78,7 +78,7 @@ jobs:
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
cache-name: cargo_core
with:
path: target
# Add date to the cache to keep it up to date
@ -93,7 +93,7 @@ jobs:
- name: Cache bundler cargo target
uses: actions/cache@v2
env:
cache-name: cargo-bundler
cache-name: cargo_bundler
with:
path: tooling/bundler/target
# Add date to the cache to keep it up to date
@ -108,7 +108,7 @@ jobs:
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
cache-name: cargo_cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date

View File

@ -30,7 +30,7 @@ jobs:
with:
toolchain: stable
override: true
- name: Install gtk on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
@ -47,7 +47,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -63,7 +63,7 @@ jobs:
- name: Cache cargo target
uses: actions/cache@v2
env:
cache-name: cargo-build
cache-name: cargo_build
with:
path: ${{ matrix.project}}/target
# Add date to the cache to keep it up to date
@ -75,7 +75,7 @@ jobs:
${{ matrix.os }}-stable-
${{ matrix.os }}-
- name: Run tests
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test

View File

@ -30,7 +30,7 @@ jobs:
with:
toolchain: stable
override: true
- name: Install gtk on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
@ -47,7 +47,7 @@ jobs:
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
cache-name: cargo_state
with:
path: |
~/.cargo/registry
@ -63,7 +63,7 @@ jobs:
- name: Cache cargo target
uses: actions/cache@v2
env:
cache-name: cargo-build
cache-name: cargo_build
with:
path: ${{ matrix.project}}/target
# Add date to the cache to keep it up to date
@ -75,7 +75,7 @@ jobs:
${{ matrix.os }}-stable-
${{ matrix.os }}-
- name: Run tests
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test