-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (27 loc) · 1.05 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Setup Dart & Flutter 🔧
description: Download and cache tools for Dart & Flutter
runs:
using: 'composite'
steps:
- name: Extract tool versions from .tool-versions
uses: wasabeef/import-asdf-tool-versions-action@396ae6da83370122ec5fbcc4b5fc994239b214b6 # v1.0.1
id: versions
- name: Download and cache Flutter SDK
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2.16.0
with:
channel: stable
flutter-version: ${{ steps.versions.outputs.flutter }}
cache: true
- name: Extract Melos version from pubspec
id: version
uses: pietrobolcato/action-read-yaml@9f13718d61111b69f30ab4ac683e67a56d254e1d # v1.1.0
with:
config: ./pubspec.yaml
- name: Download Melos and bootstrap
uses: bluefireteam/melos-action@6085791af7036f6366c9a4b9d55105c0ef9c6388 # v3
with:
melos-version: ${{ steps.version.outputs.outputs['dev_dependencies']['melos'] }}
run-bootstrap: true
- name: Install others
shell: bash
run: melos prepare