Skip to content

Commit

Permalink
Always update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Oct 16, 2024
1 parent 77fc76d commit f2276fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_linux_arm64_wheels-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:
!**/CMakeLists.txt
key: |
submodule-${{ hashFiles('.gitmodules') }}
- name: Update submodules if cache miss
if: steps.cache.outputs.cache-hit != 'true'
- name: Update submodules
run: |
git submodule update --init --recursive --jobs 4
- name: Save submodules cache
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build_linux_x86_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ jobs:
with:
path: |
contrib/**
!contrib/*-cmake
!**/CMakeLists.txt
key: |
submodule-${{ hashFiles('.gitmodules') }}
- name: Update submodules if cache miss
if: steps.cache.outputs.cache-hit != 'true'
- name: Update submodules
run: |
git submodule update --init --recursive --jobs 4
- name: Save submodules cache
Expand All @@ -77,6 +78,8 @@ jobs:
with:
path: |
contrib/**
!contrib/*-cmake
!**/CMakeLists.txt
key: |
submodule-${{ hashFiles('.gitmodules') }}
- name: ccache
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build_macos_x86_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ jobs:
with:
path: |
contrib/**
!contrib/*-cmake
!**/CMakeLists.txt
key: |
submodule-${{ hashFiles('.gitmodules') }}
- name: Update submodules if cache miss
if: steps.cache.outputs.cache-hit != 'true'
- name: Update submodules
run: |
git submodule update --init --recursive --jobs 4
- name: Save submodules cache
Expand All @@ -69,6 +70,8 @@ jobs:
with:
path: |
contrib/**
!contrib/*-cmake
!**/CMakeLists.txt
key: |
submodule-${{ hashFiles('.gitmodules') }}
- name: ccache
Expand Down

0 comments on commit f2276fb

Please sign in to comment.