Skip to content

Commit

Permalink
Use submodule update on vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Aug 14, 2024
1 parent f0e19b0 commit 188d9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
git fetch --all
submodules=("fast_float" "spdlog" "tomlplusplus" )
submodules=("vcpkg" "tomlplusplus" )
for submodule in "${submodules[@]}"; do
BRANCH_NAME=ci-update-$submodule
if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

- name: Create Pull Requests for each submodule
run: |
submodules=("fast_float" "spdlog" "tomlplusplus" )
submodules=("vcpkg" "tomlplusplus" )
for submodule in "${submodules[@]}"; do
gh pr create --title "Update $submodule to latest release" --body "This PR updates the $submodule submodule to its latest release." --head ci-update-$submodule --base dev
done
Expand Down

0 comments on commit 188d9da

Please sign in to comment.