diff options
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3645f86da..9bf59a8a9 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -59,14 +59,15 @@ jobs: | |||
59 | git config user.name github-actions | 59 | git config user.name github-actions |
60 | git config user.email github-actions@github.com | 60 | git config user.email github-actions@github.com |
61 | 61 | ||
62 | # TODO: Need to check if this is required, keeping for future reference (can be removed if the submodule-update issue is resolved with other changes in this commit) | ||
63 | # Defensive: update submodules in the develop branch | 62 | # Defensive: update submodules in the develop branch |
64 | # git checkout develop | 63 | git checkout develop |
65 | # git submodule update --init --recursive --remote --rebase --force | 64 | git submodule update --init --recursive --remote --rebase --force |
66 | # git add . | 65 | git add . |
67 | # git commit -am "Update submodules [skip ci]" --no-verify || true | 66 | git commit -am "Update submodules [skip ci]" --no-verify || true |
68 | # git push origin develop --no-verify | 67 | git push origin develop --no-verify |
69 | # git checkout - | 68 | git checkout - |
69 | |||
70 | git submodule update --init --recursive --remote --rebase --force | ||
70 | 71 | ||
71 | CHANGES_COUNT=$(git diff --shortstat origin/develop | wc -l) | 72 | CHANGES_COUNT=$(git diff --shortstat origin/develop | wc -l) |
72 | MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" | 73 | MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" |