flutter
This commit is contained in:
parent
53bee4db2d
commit
b72abfb1ea
1 changed files with 12 additions and 15 deletions
|
|
@ -31,22 +31,19 @@ jobs:
|
||||||
pip3 --version
|
pip3 --version
|
||||||
bash --version || echo "bash check failed"
|
bash --version || echo "bash check failed"
|
||||||
|
|
||||||
- name: Set up Flutter (for web_v2)
|
- name: Install Flutter 3.35.5
|
||||||
if: inputs.component == 'web_v2'
|
|
||||||
run: |
|
run: |
|
||||||
# Install Flutter
|
if [ ! -d /opt/flutter/bin ]; then
|
||||||
git clone https://github.com/flutter/flutter.git -b stable --depth 1 $HOME/flutter
|
echo "Flutter not found, cloning..."
|
||||||
export PATH="$HOME/flutter/bin:$PATH"
|
git clone --branch 3.35.5 --depth 1 https://github.com/flutter/flutter.git /opt/flutter
|
||||||
echo "$HOME/flutter/bin" >> $GITHUB_PATH
|
else
|
||||||
flutter --version
|
echo "Flutter already present in /opt/flutter"
|
||||||
flutter doctor
|
fi
|
||||||
|
|
||||||
- name: Set up Dart (for backend/common)
|
echo "FLUTTER_ROOT=/opt/flutter" >> "$GITHUB_ENV"
|
||||||
if: inputs.component != 'web_v2'
|
echo "/opt/flutter/bin" >> "$GITHUB_PATH"
|
||||||
uses: dart-lang/setup-dart@v1
|
/opt/flutter/bin/flutter --version
|
||||||
with:
|
|
||||||
sdk: stable
|
|
||||||
|
|
||||||
- name: Install Cursor CLI
|
- name: Install Cursor CLI
|
||||||
run: |
|
run: |
|
||||||
# bash should already be installed in previous step
|
# bash should already be installed in previous step
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue