Simplify flutter template

This commit is contained in:
linsui 2025-08-16 19:14:45 +08:00
parent 5f45387f00
commit cd90e33df3

View file

@ -30,7 +30,7 @@ Builds:
# Extract the flutter version and then checkout it in the flutter srclib
# Only needed when flutter srclib is used
- flutterVersion=$(sed -n -E "s/.*flutter-version:\ '(.*)'/\1/p" .github/workflows/release.yml)
- '[[ $flutterVersion ]] || exit 1'
- '[[ $flutterVersion ]]'
- git -C $$flutter$$ checkout -f $flutterVersion
# Change pub cache location so that the dart packages are scanned by the scanner
- export PUB_CACHE=$(pwd)/.pub-cache