Skip to content

Commit

Permalink
Add dart sdk absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
zaelgohary committed Oct 27, 2024
1 parent f4ab08a commit 51eeaee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
- name: Set up FVM
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action/config@v3
with:
path: "./.fvmrc"
env:
DART_SDK_PATH: /home/runner/work/tfgrid-sdk-dart/tfgrid-sdk-dart/.fvm/flutter_sdk/bin/dart

- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}

- name: Install Melos
run: dart pub global activate melos
run: $DART_SDK_PATH/bin/dart pub global activate melos

- name: Install dependencies
run: dart pub global run melos bootstrap
run: $DART_SDK_PATH/bin/dart pub global run melos bootstrap

- name: Analyze
run: dart analyze .
run: $DART_SDK_PATH/bin/dart analyze .

0 comments on commit 51eeaee

Please sign in to comment.