diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ac6d0e71b3..9eb0b6fb7b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,9 +20,18 @@ jobs: # Github Actions don't support templates so it is hard to share this snippet with another action # If we eventually need to use this in more workflow, we could create a shell script that contains this # snippet. + # + # This uses a pinned version of Flutter rather than `stable` so that it is + # not subject to out-of-band failures when new releases happen. It does + # not use the auto-rolled pin because there's no way for the autoroller + # to test the actual release flow, so changes would still show up in + # post-submit. A manually-rolled pin means that any changes here must be + # made deliberately, so that the person updating it knows to watch the + # next actual auto-release to ensure that it works, and knows to revert + # the change if it doesn't. run: | cd $HOME - git clone https://github.com/flutter/flutter.git --depth 1 -b stable _flutter + git clone https://github.com/flutter/flutter.git --depth 1 -b 3.10.0 _flutter echo "$HOME/_flutter/bin" >> $GITHUB_PATH cd $GITHUB_WORKSPACE # Checks out a copy of the repo.