Skip to content

Commit d90c5a0

Browse files
gnpricechrisbobbe
authored andcommitted
ci: Work around broken ref for Flutter upstream main
Fixes #1177. Workaround for: flutter/flutter#160558
1 parent 59c6ef6 commit d90c5a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
2828
echo ~/flutter/bin >> "$GITHUB_PATH"
2929
30+
# The Flutter tool assumes the tip of tree is "upstream/master":
31+
# https://github.com/flutter/flutter/issues/160558
32+
# TODO(upstream): make workaround unneeded
33+
git --git-dir ~/flutter/.git update-ref refs/remotes/upstream/master origin/main
34+
3035
- name: Download Flutter SDK artifacts (flutter precache)
3136
run: flutter precache --universal
3237

0 commit comments

Comments
 (0)