We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0da50 commit 59bcd6bCopy full SHA for 59bcd6b
.github/workflows/ci.yml
@@ -18,9 +18,12 @@ jobs:
18
distribution: temurin
19
20
- name: Clone Flutter SDK
21
- # TODO(#1204) reinstate shallow clone with --depth=1000 and its corresponding comment here
+ # 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.
25
run: |
- git clone -b main https://github.com/flutter/flutter ~/flutter
26
+ git clone --depth=1000 -b main https://github.com/flutter/flutter ~/flutter
27
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
28
echo ~/flutter/bin >> "$GITHUB_PATH"
29
0 commit comments