Skip to content

Commit

Permalink
Don't use 'flutter upgrade' on Cirrus (flutter#4213)
Browse files Browse the repository at this point in the history
This command isn't intended for CI use, and is also slower due to
downloading artifacts that will be immidately discarded.

Cirrus portion of flutter/flutter#86037
  • Loading branch information
stuartmorgan authored and fotiDim committed Sep 13, 2021
1 parent 0d349eb commit f1ff7ad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ flutter_upgrade_template: &FLUTTER_UPGRADE_TEMPLATE
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- git fetch origin
# Switch to the requested branch.
- flutter channel $CHANNEL
- flutter upgrade
- git checkout $CHANNEL
# Reset to upstream branch, rather than using pull, since the base image
# can sometimes be in a state where it has diverged from upstream (!).
- git reset --hard @{u}
# Run doctor to allow auditing of what version of Flutter the run is using.
- flutter doctor -v
<< : *TOOL_SETUP_TEMPLATE

macos_template: &MACOS_TEMPLATE
Expand Down

0 comments on commit f1ff7ad

Please sign in to comment.