Skip to content

Commit

Permalink
Pass submodules option to custom checkout (#5995)
Browse files Browse the repository at this point in the history
Without this option, all the submodule won't be initialized correctly,
which leads to build failures like
https://github.com/pytorch/executorch/actions/runs/12084054206/job/33698428919
  • Loading branch information
huydhn authored Nov 29, 2024
1 parent 6740bb4 commit e8baa13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ runs:
with:
repository: ${{ inputs.repository }}
path: ${{ inputs.repository }}
submodules: ${{ inputs.submodules }}
ref: ${{ inputs.ref }}

- name: Log Available Webhook Fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ jobs:
name: ${{ matrix.repository }}
with:
repository: ${{ matrix.repository }}
ref: nightly
ref: main
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
submodules: recursive
env-var-script: build/packaging/env_var_script_linux.sh
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down

0 comments on commit e8baa13

Please sign in to comment.