Skip to content

Commit

Permalink
set fetch depth 1000 to let flutter know what version it is on
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisirhc committed Mar 23, 2024
1 parent 54deae6 commit 6cf7249
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
# This is only needed for the flutter submodule.
# We can't do a depth-1 clone, because we need the most recent tag
# so that Flutter knows its version and sees the constraint in our
# pubspec is satisfied. It's uncommon for flutter/flutter to go
# more than 100 commits between tags. Fetch 1000 for good measure.
fetch-depth: 1000

- name: Add vendored flutter to PATH
run: |
Expand Down

0 comments on commit 6cf7249

Please sign in to comment.