File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -496,6 +496,11 @@ jobs:
496496
497497 - name : Read Flutter version
498498 id : flutter-ver
499+ # Windows runners default to PowerShell, where the bash-style
500+ # $(...) command substitution and $GITHUB_OUTPUT do not work. Without
501+ # this the version output is empty and subosito installs the latest
502+ # stable Flutter instead of the pinned version. See flutter-version.txt.
503+ shell : bash
499504 run : echo "version=$(cat ${{ env.FLUTTER_VERSION_FILE }})" >> "$GITHUB_OUTPUT"
500505
501506 - uses : subosito/flutter-action@v2
Original file line number Diff line number Diff line change @@ -319,6 +319,11 @@ jobs:
319319
320320 - name : Read Flutter version
321321 id : flutter-ver
322+ # Windows runners default to PowerShell, where the bash-style
323+ # $(...) command substitution and $GITHUB_OUTPUT do not work. Without
324+ # this the version output is empty and subosito installs the latest
325+ # stable Flutter instead of the pinned version. See flutter-version.txt.
326+ shell : bash
322327 run : echo "version=$(cat ${{ env.FLUTTER_VERSION_FILE }})" >> "$GITHUB_OUTPUT"
323328
324329 - name : Setup Flutter
You can’t perform that action at this time.
0 commit comments