Skip to content

Commit f2276fb

Browse files
committed
Always update submodules
1 parent 77fc76d commit f2276fb

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/build_linux_arm64_wheels-gh.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ jobs:
6969
!**/CMakeLists.txt
7070
key: |
7171
submodule-${{ hashFiles('.gitmodules') }}
72-
- name: Update submodules if cache miss
73-
if: steps.cache.outputs.cache-hit != 'true'
72+
- name: Update submodules
7473
run: |
7574
git submodule update --init --recursive --jobs 4
7675
- name: Save submodules cache

.github/workflows/build_linux_x86_wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ jobs:
6565
with:
6666
path: |
6767
contrib/**
68+
!contrib/*-cmake
69+
!**/CMakeLists.txt
6870
key: |
6971
submodule-${{ hashFiles('.gitmodules') }}
70-
- name: Update submodules if cache miss
71-
if: steps.cache.outputs.cache-hit != 'true'
72+
- name: Update submodules
7273
run: |
7374
git submodule update --init --recursive --jobs 4
7475
- name: Save submodules cache
@@ -77,6 +78,8 @@ jobs:
7778
with:
7879
path: |
7980
contrib/**
81+
!contrib/*-cmake
82+
!**/CMakeLists.txt
8083
key: |
8184
submodule-${{ hashFiles('.gitmodules') }}
8285
- name: ccache

.github/workflows/build_macos_x86_wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ jobs:
5757
with:
5858
path: |
5959
contrib/**
60+
!contrib/*-cmake
61+
!**/CMakeLists.txt
6062
key: |
6163
submodule-${{ hashFiles('.gitmodules') }}
62-
- name: Update submodules if cache miss
63-
if: steps.cache.outputs.cache-hit != 'true'
64+
- name: Update submodules
6465
run: |
6566
git submodule update --init --recursive --jobs 4
6667
- name: Save submodules cache
@@ -69,6 +70,8 @@ jobs:
6970
with:
7071
path: |
7172
contrib/**
73+
!contrib/*-cmake
74+
!**/CMakeLists.txt
7275
key: |
7376
submodule-${{ hashFiles('.gitmodules') }}
7477
- name: ccache

0 commit comments

Comments
 (0)