File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 18
18
distribution : temurin
19
19
20
20
- name : Clone Flutter SDK
21
- # TODO(#1204) reinstate shallow clone with --depth=1000 and its corresponding comment here
21
+ # We can't do a depth-1 clone, because we need the most recent tag
22
+ # so that Flutter knows its version and sees the constraint in our
23
+ # pubspec is satisfied. It's uncommon for flutter/flutter to go
24
+ # more than 100 commits between tags. Fetch 1000 for good measure.
22
25
run : |
23
- git clone -b main https://github.com/flutter/flutter ~/flutter
26
+ git clone --depth=1000 - b main https://github.com/flutter/flutter ~/flutter
24
27
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
25
28
echo ~/flutter/bin >> "$GITHUB_PATH"
26
29
You can’t perform that action at this time.
0 commit comments