Skip to content

Commit

Permalink
fix github action to recursively update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Feb 13, 2025
1 parent f2c5df8 commit 416eed5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:
)
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha }}
- name: Update Submodules
run: |
git submodule update --init --recursive --remote
- name: Cache
uses: actions/cache@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ jobs:
- uses: actions/checkout@v4
with:
path: plugin
submodules: 'recursive'
- name: Update Submodules
working-directory: plugin
run: |
git submodule update --init --recursive --remote
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
# Pinned version 2.11.1
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'
Expand Down

0 comments on commit 416eed5

Please sign in to comment.