Skip to content

Commit

Permalink
ci: Work around broken ref for Flutter upstream main
Browse files Browse the repository at this point in the history
Fixes zulip#1177.

Workaround for:
  flutter/flutter#160558
  • Loading branch information
gnprice committed Dec 19, 2024
1 parent 59c6ef6 commit c3bf9de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
echo ~/flutter/bin >> "$GITHUB_PATH"
# The Flutter tool assumes the tip of tree is "upstream/master":
# https://github.com/flutter/flutter/issues/160558
# TODO(upstream): make workaround unneeded
git --git-dir ~/flutter/.git update-ref refs/remotes/upstream/master origin/main
- name: Download Flutter SDK artifacts (flutter precache)
run: flutter precache --universal

Expand Down

0 comments on commit c3bf9de

Please sign in to comment.