Skip to content

Commit 38b9324

Browse files
committed
Edit workflow
1 parent 800a0b0 commit 38b9324

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/analyze.yaml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,24 @@ jobs:
2525
flutter-version: ${{ steps.fvm.outputs.FLUTTER_VERSION }}
2626
channel: ${{ steps.fvm.outputs.FLUTTER_CHANNEL }}
2727

28-
- name: Echo flutter outputs
28+
- name: Create Flutter symbolic link
2929
run: |
30-
echo ${{ steps.fvm.outputs }}
31-
echo ${{ steps.fvm.outcome }}
32-
echo ${{ steps.fvm.conclusion }}
30+
echo "FLUTTER_ROOT is set to: $FLUTTER_ROOT"
31+
if [ -d "/tmp/.fvm/" ]; then
32+
echo "/tmp/.fvm/ exists."
33+
else
34+
echo "/tmp/.fvm/ does not exist, creating it now."
35+
mkdir -p /tmp/.fvm/
36+
fi
37+
38+
ln -s $FLUTTER_ROOT /tmp/.fvm/flutter_sdk
39+
echo "Symbolic link created."
40+
echo "Verifying symbolic link..."
41+
ls -l /tmp/.fvm/flutter_sdk
42+
/tmp/.fvm/flutter_sdk/bin/flutter --version
3343
3444
- name: Install Melos
35-
run: /home/runner/work/tfgrid-sdk-dart/.fvm/flutter_sdk/bin/dart pub global activate melos
45+
run: dart pub global activate melos
3646

3747
- name: Install dependencies
3848
run: melos bootstrap

0 commit comments

Comments
 (0)