Skip to content

Commit 1780e44

Browse files
committed
cache all builds, regardless of cmake status
1 parent 3f49b99 commit 1780e44

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/buildrunner_native.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
uses: actions/cache@v3
2727
with:
2828
path: build
29-
key: win-build-${{ hashFiles('CMakeLists.txt') }}
30-
restore-keys: win-build-
29+
key: win-build
30+
restore-keys: win-build
3131

3232
- name: Run Windows Build Script
3333
shell: pwsh
@@ -43,8 +43,8 @@ jobs:
4343
uses: actions/cache@v3
4444
with:
4545
path: build
46-
key: win_arm-build-${{ hashFiles('CMakeLists.txt') }}
47-
restore-keys: win_arm-build-
46+
key: win_arm-build
47+
restore-keys: win_arm-build
4848

4949
- name: Run Windows Build Script
5050
shell: pwsh
@@ -59,9 +59,6 @@ jobs:
5959
- name: Checkout Code
6060
uses: actions/checkout@v4.2.2
6161

62-
- name: Prepare Dependencies Folder
63-
run: mkdir -p dependencies
64-
6562
- name: Cache Dependencies and Homebrew
6663
uses: actions/cache@v3
6764
with:
@@ -75,8 +72,8 @@ jobs:
7572
uses: actions/cache@v3
7673
with:
7774
path: build
78-
key: macOS-build-${{ hashFiles('CMakeLists.txt') }}
79-
restore-keys: macOS-build-
75+
key: macOS-build
76+
restore-keys: macOS-build
8077

8178
- name: Run macOS Build Script
8279
run: |
@@ -105,8 +102,8 @@ jobs:
105102
uses: actions/cache@v3
106103
with:
107104
path: build
108-
key: linux-build-${{ hashFiles('CMakeLists.txt') }}
109-
restore-keys: linux-build-
105+
key: linux-build
106+
restore-keys: linux-build
110107

111108
- name: Run Linux Build Script
112109
run: |

0 commit comments

Comments
 (0)