Skip to content

Commit 9292d3e

Browse files
committed
Try hard-coding dep install path, not sure why env vars aren't working
1 parent e72e690 commit 9292d3e

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,24 @@ jobs:
6565
id: cache-deps-restore
6666
uses: actions/cache/restore@v3
6767
with:
68-
path: ${{ env.HOME }}/install
68+
path: /github/home/install
6969
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
7373
- name: Check space4
7474
run: df -h
7575

76-
7776
- name: Build Dependencies
7877
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
7978
shell: bash -l {0}
8079
run: .github/workflows/gha_deps.sh
8180

8281
- name: Save Dependencies Cache
83-
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
82+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
8483
uses: actions/cache/save@v3
8584
with:
86-
path: ${{ env.HOME }}/install
85+
path: /github/home/install
8786
key: ${{ runner.os }}-deps-debug-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
8887

8988
- name: Check space5

.github/workflows/build-linux.yml

Lines changed: 3 additions & 3 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: ${{ env.HOME }}/install
66+
path: /github/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-
@@ -79,10 +79,10 @@ jobs:
7979
run: .github/workflows/gha_deps.sh
8080

8181
- name: Save Dependencies Cache
82-
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
82+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
8383
uses: actions/cache/save@v3
8484
with:
85-
path: ${{ env.HOME }}/install
85+
path: /github/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: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,21 @@ jobs:
5454
id: cache-deps-restore
5555
uses: actions/cache/restore@v3
5656
with:
57-
path: ${{ env.HOME }}/install
57+
path: /Users/runner/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-
6161
62-
6362
- name: Build Dependencies
6463
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
6564
shell: bash -l {0}
6665
run: .github/workflows/gha_deps.sh
6766

6867
- name: Save Dependencies Cache
69-
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
68+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
7069
uses: actions/cache/save@v3
7170
with:
72-
path: ${{ env.HOME }}/install
71+
path: /Users/runner/install
7372
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7473

7574
- name: cmake

.github/workflows/build-mac.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,21 @@ jobs:
5555
id: cache-deps-restore
5656
uses: actions/cache/restore@v3
5757
with:
58-
path: ${{ env.HOME }}/install
58+
path: /Users/runner/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-
6262
63-
6463
- name: Build Dependencies
6564
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
6665
shell: bash -l {0}
6766
run: .github/workflows/gha_deps.sh
6867

6968
- name: Save Dependencies Cache
70-
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
69+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
7170
uses: actions/cache/save@v3
7271
with:
73-
path: ${{ env.HOME }}/install
72+
path: /Users/runner/install
7473
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh', 'install_shapeworks.sh', 'python_requirements.txt', 'build_dependencies.sh') }}
7574

7675
- name: cmake

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
run: .github/workflows/gha_deps.sh
103103

104104
- name: Save Dependencies Cache
105-
if: steps.cache-deps-restore.outputs.cache-hit != 'true' && always()
105+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
106106
uses: actions/cache/save@v3
107107
with:
108108
path: C:\deps

0 commit comments

Comments
 (0)