Skip to content

Commit 2b99578

Browse files
chrisbobbegnprice
authored andcommitted
ci: Remove --depth=1000 in doing Flutter clone, to be added back later
Related: zulip#1204
1 parent cda6756 commit 2b99578

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ jobs:
1818
distribution: temurin
1919

2020
- name: Clone Flutter SDK
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.
21+
# TODO(#1204) reinstate shallow clone with --depth=1000 and its corresponding comment here
2522
run: |
26-
git clone --depth=1000 -b main https://github.com/flutter/flutter ~/flutter
23+
git clone -b main https://github.com/flutter/flutter ~/flutter
2724
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
2825
echo ~/flutter/bin >> "$GITHUB_PATH"
2926

0 commit comments

Comments
 (0)