Skip to content

Commit e335ed9

Browse files
committed
Differentiate arm64 and intel cache deps
1 parent 2238f7d commit e335ed9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-mac-arm64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/cache/restore@v3
5656
with:
5757
path: /Users/runner/install
58-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
58+
key: ${{ runner.os }}-arm64-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
5959
restore-keys: |
6060
${{ runner.os }}-deps-
6161
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/cache/save@v3
7070
with:
7171
path: /Users/runner/install
72-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
72+
key: ${{ runner.os }}-arm64-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7373

7474
- name: cmake
7575
shell: bash -l {0}

.github/workflows/build-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/cache/restore@v3
5757
with:
5858
path: /Users/runner/install
59-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
59+
key: ${{ runner.os }}-intel-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
6060
restore-keys: |
6161
${{ runner.os }}-deps-
6262
@@ -70,7 +70,7 @@ jobs:
7070
uses: actions/cache/save@v3
7171
with:
7272
path: /Users/runner/install
73-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
73+
key: ${{ runner.os }}-intel-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7474

7575
- name: cmake
7676
shell: bash -l {0}

0 commit comments

Comments
 (0)