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 1818 distribution : temurin
1919
2020 - 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.
2225 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
2427 TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
2528 echo ~/flutter/bin >> "$GITHUB_PATH"
2629
You can’t perform that action at this time.
0 commit comments