Skip to content

Commit

Permalink
Added submodules config to checkout action
Browse files Browse the repository at this point in the history
Signed-off-by: Bhavye Mathur <[email protected]>
  • Loading branch information
BhavyeMathur committed Mar 27, 2024
1 parent 386d3e7 commit ac6f8d1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-goopylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
submodules: 'recursive'

- name: Configure submodules
run: git submodule update --init --recursive
- uses: actions/setup-node@v4

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand All @@ -71,9 +71,8 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Configure submodules
run: git submodule update --init --recursive
with:
submodules: 'recursive'

- name: Install dependencies
run: python -m pip install build
Expand All @@ -99,9 +98,10 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Configure submodules
run: git submodule update --init --recursive
# TODO fix bug with the latest commit (i.e. the latest built goopylib library) not being pulled with this checkout

- name: Build Python wheels
env:
Expand Down

0 comments on commit ac6f8d1

Please sign in to comment.