From 459173d9e5914551726787b9dc3dc3f72617bb8f Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Sat, 23 Mar 2024 11:26:06 +0800 Subject: [PATCH] run git submodule manually --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ed9d329a9..46b9e60de9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,16 @@ jobs: check: runs-on: ubuntu-latest steps: - - name: Checkout repository and submodules + - name: Checkout repository uses: actions/checkout@v3 - with: - submodules: true - # This is only needed for the flutter submodule. - # We can't do a depth-1 clone, because we need the most recent tag - # so that Flutter knows its version and sees the constraint in our - # pubspec is satisfied. It's uncommon for flutter/flutter to go - # more than 100 commits between tags. Fetch 1000 for good measure. - fetch-depth: 1000 + + - name: Checkout flutter submodule + # We can't do a depth-1 clone, because we need the most recent tag + # so that Flutter knows its version and sees the constraint in our + # pubspec is satisfied. It's uncommon for flutter/flutter to go + # more than 100 commits between tags. Fetch 1000 for good measure. + run: | + git submodule update --init --depth 1000 - name: Add vendored flutter to PATH run: |