summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-03-14 09:08:54 +0530
committerGitHub <noreply@github.com>2022-03-14 09:08:54 +0530
commit4e3ed37037a2aa1edeac260dc3463a81d9cf9b88 (patch)
tree86a7826e7d5de1e1c6b7f5342a1e2a93ae52ab8b /.github/workflows
parent6a635345ef46d6446960aef3333dfc8ac531b5be (diff)
chore: improve build times for `ext/` changes (#13927)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c635156aa..f45460602 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -244,7 +244,7 @@ jobs:
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
- key: 5-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
+ key: 7-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
# In main branch, always creates fresh cache
- name: Cache build output (main)
@@ -260,7 +260,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.tar.gz
key: |
- 5-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
+ 7-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
# Restore cache from the latest 'main' branch build.
- name: Cache build output (PR)
@@ -276,7 +276,7 @@ jobs:
!./target/*/*.tar.gz
key: never_saved
restore-keys: |
- 5-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
+ 7-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
# Don't save cache after building PRs or branches other than 'main'.
- name: Skip save cache (PR)