diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index d543093..26f900e 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -86,10 +86,12 @@ jobs: working-directory: ${{ matrix.repo }} run: | if [ -f .gitmodules ]; then - git config --local --add url."https://github.com/".insteadOf "git@github.com:" - git config --local --add url."https://github.com/".insteadOf "ssh://git@github.com/" git submodule sync --recursive - git -c protocol.version=2 submodule update --init --force --depth=1 --recursive + git \ + -c url."https://github.com/".insteadOf=git@github.com: \ + -c url."https://github.com/".insteadOf=ssh://git@github.com/ \ + -c protocol.version=2 \ + submodule update --init --force --depth=1 --recursive fi - name: Set yarn cache directory id: yarn-cache