Skip to content

Commit e72e690

Browse files
committed
Fix path access for dependency caching.
1 parent 39ee6c3 commit e72e690

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build-linux-debug.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
id: cache-deps-restore
6666
uses: actions/cache/restore@v3
6767
with:
68-
path: $HOME/install
69-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
68+
path: ${{ env.HOME }}/install
69+
key: ${{ runner.os }}-deps-debug-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7070
restore-keys: |
7171
${{ runner.os }}-deps-
7272
@@ -83,8 +83,8 @@ jobs:
8383
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
8484
uses: actions/cache/save@v3
8585
with:
86-
path: $HOME/install
87-
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
86+
path: ${{ env.HOME }}/install
87+
key: ${{ runner.os }}-deps-debug-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
8888

8989
- name: Check space5
9090
run: df -h

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
id: cache-deps-restore
6464
uses: actions/cache/restore@v3
6565
with:
66-
path: $HOME/install
66+
path: ${{ env.HOME }}/install
6767
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
6868
restore-keys: |
6969
${{ runner.os }}-deps-
@@ -82,7 +82,7 @@ jobs:
8282
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
8383
uses: actions/cache/save@v3
8484
with:
85-
path: $HOME/install
85+
path: ${{ env.HOME }}/install
8686
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
8787

8888
- name: Check space4

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
id: cache-deps-restore
5555
uses: actions/cache/restore@v3
5656
with:
57-
path: $HOME/install
57+
path: ${{ env.HOME }}/install
5858
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
5959
restore-keys: |
6060
${{ runner.os }}-deps-
@@ -69,7 +69,7 @@ jobs:
6969
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
7070
uses: actions/cache/save@v3
7171
with:
72-
path: $HOME/install
72+
path: ${{ env.HOME }}/install
7373
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7474

7575
- name: cmake

.github/workflows/build-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
id: cache-deps-restore
5656
uses: actions/cache/restore@v3
5757
with:
58-
path: $HOME/install
58+
path: ${{ env.HOME }}/install
5959
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
6060
restore-keys: |
6161
${{ runner.os }}-deps-
@@ -70,7 +70,7 @@ jobs:
7070
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
7171
uses: actions/cache/save@v3
7272
with:
73-
path: $HOME/install
73+
path: ${{ env.HOME }}/install
7474
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7575

7676
- name: cmake

0 commit comments

Comments
 (0)