diff --git a/.github/workflows/android-beta.yaml b/.github/workflows/android-beta.yaml index 01b555b219..2b32f91a86 100644 --- a/.github/workflows/android-beta.yaml +++ b/.github/workflows/android-beta.yaml @@ -45,7 +45,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Checkout private keys uses: actions/checkout@v3 diff --git a/.github/workflows/android-check.yaml b/.github/workflows/android-check.yaml index 03edb32b21..7fa29cc18c 100644 --- a/.github/workflows/android-check.yaml +++ b/.github/workflows/android-check.yaml @@ -48,7 +48,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Configure in Open Source mode shell: bash diff --git a/.github/workflows/android-monkey.yaml b/.github/workflows/android-monkey.yaml index a58b43fad0..79b22a331d 100644 --- a/.github/workflows/android-monkey.yaml +++ b/.github/workflows/android-monkey.yaml @@ -51,7 +51,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Checkout private keys uses: actions/checkout@v3 diff --git a/.github/workflows/android-release-metadata.yaml b/.github/workflows/android-release-metadata.yaml index e98822eccc..d72a010921 100644 --- a/.github/workflows/android-release-metadata.yaml +++ b/.github/workflows/android-release-metadata.yaml @@ -13,7 +13,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Checkout screenshots uses: actions/checkout@v3 diff --git a/.github/workflows/android-release.yaml b/.github/workflows/android-release.yaml index 37e82dd12d..821417d962 100644 --- a/.github/workflows/android-release.yaml +++ b/.github/workflows/android-release.yaml @@ -89,7 +89,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Checkout screenshots uses: actions/checkout@v3 diff --git a/.github/workflows/ios-beta.yaml b/.github/workflows/ios-beta.yaml index bd323a804f..b4d125376c 100644 --- a/.github/workflows/ios-beta.yaml +++ b/.github/workflows/ios-beta.yaml @@ -44,7 +44,7 @@ jobs: fetch-depth: 100 # enough to get all commits for the current day - name: Parallel submodules checkout - run: git submodule update --init --recursive --jobs=4 + run: git submodule update --depth 1 --init --recursive --jobs=$(($(sysctl -n hw.logicalcpu) * 20)) - name: Checkout private keys uses: actions/checkout@v3 diff --git a/.github/workflows/ios-check.yaml b/.github/workflows/ios-check.yaml index cd4a188a8a..d20bc3d58c 100644 --- a/.github/workflows/ios-check.yaml +++ b/.github/workflows/ios-check.yaml @@ -42,7 +42,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=4 + run: git submodule update --depth 1 --init --recursive --jobs=$(($(sysctl -n hw.logicalcpu) * 20)) - name: Configure shell: bash diff --git a/.github/workflows/linux-check.yaml b/.github/workflows/linux-check.yaml index 2f9a3efa30..dcccb562a5 100644 --- a/.github/workflows/linux-check.yaml +++ b/.github/workflows/linux-check.yaml @@ -39,7 +39,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Install build tools and dependencies shell: bash @@ -89,7 +89,7 @@ jobs: - name: Parallel submodules checkout shell: bash - run: git submodule update --init --recursive --jobs=$(($(nproc) * 2)) + run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Install build tools and dependencies shell: bash