diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-30 23:30:50 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-30 23:30:50 -0500 |
commit | 03aec8c802f8817a13930f2a1e33106a2e4674a1 (patch) | |
tree | 5a93b2bd92ad475ffc4ebdbf09f577247589ed19 /.github/workflows | |
parent | docs: add NathanaelGandhi as a contributor for infra (#75) [skip ci] (diff) | |
download | ferdium-app-03aec8c802f8817a13930f2a1e33106a2e4674a1.tar.gz ferdium-app-03aec8c802f8817a13930f2a1e33106a2e4674a1.tar.zst ferdium-app-03aec8c802f8817a13930f2a1e33106a2e4674a1.zip |
Pull new version of 'recipes' [skip ci]
Defensive programming for updating 'recipes' during nightly builds
Diffstat (limited to '.github/workflows')
-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' }}" |