Skip to content

Commit e48fc2b

Browse files
committed
Try caching deps for windows
1 parent bcb00ae commit e48fc2b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-windows.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,17 @@ jobs:
8787
shell: bash -l {0}
8888
run: .github/workflows/gha_conda.sh
8989

90+
- name: Cache Dependencies
91+
id: cache-deps
92+
uses: actions/cache@v3
93+
with:
94+
path: C:\deps
95+
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/gha_deps.sh') }}
96+
restore-keys: |
97+
${{ runner.os }}-deps-
98+
9099
- name: Build Dependencies
100+
if: steps.cache-deps.outputs.cache-hit != 'true'
91101
shell: bash -l {0}
92102
run: .github/workflows/gha_deps.sh
93103

@@ -167,4 +177,4 @@ jobs:
167177
prerelease: true
168178
title: "Development Build for Windows"
169179
files: |
170-
d:/a/ShapeWorks/ShapeWorks/artifacts/*.exe
180+
d:/a/ShapeWorks/ShapeWorks/artifacts/*.exe

0 commit comments

Comments
 (0)