Browse Source

ci: add depth 1 in flutter git clone

Pratik 3 years ago
parent
commit
9790251aa2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/ci.yaml

+ 1 - 1
.github/workflows/ci.yaml

@@ -35,7 +35,7 @@ jobs:
           rustup default nightly
           rustup default nightly
       - name: Flutter
       - name: Flutter
         run: |
         run: |
-          git clone https://github.com/flutter/flutter.git
+          git clone --depth 1 https://github.com/flutter/flutter.git
           cd flutter
           cd flutter
           echo `pwd`"/bin" >> $GITHUB_PATH
           echo `pwd`"/bin" >> $GITHUB_PATH
           export PATH="$PATH:`pwd`/bin"
           export PATH="$PATH:`pwd`/bin"