Skip to content

Commit b208e3b

Browse files
committed
set fetch depth 1000 to let flutter know what version it is on
1 parent 1fa80b7 commit b208e3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
uses: actions/checkout@v3
1111
with:
1212
submodules: true
13+
# This is only needed for the flutter submodule.
14+
# We can't do a depth-1 clone, because we need the most recent tag
15+
# so that Flutter knows its version and sees the constraint in our
16+
# pubspec is satisfied. It's uncommon for flutter/flutter to go
17+
# more than 100 commits between tags. Fetch 1000 for good measure.
18+
fetch-depth: 1000
1319

1420
- name: Add vendored flutter to PATH
1521
run: |

0 commit comments

Comments
 (0)