Skip to content

Commit d0452dc

Browse files
committed
Install a Flutter SDK in the publish workflow
1 parent d0b01d2 commit d0452dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

+6
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
- uses: actions/checkout@v4
3232
# Setup Dart SDK with JWT token
3333
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
34+
# Download flutter SDK - needed for publishing Flutter packages. Can also
35+
# publish pure Dart packages.
36+
#
37+
# This will add the flutter/bin/dart executable to path, that sets up
38+
# FLUTTER_ROOT.
39+
- uses: flutter-actions/setup-flutter@d030cb603380106494f72d65a7e52462f380781f
3440
# Minimal package setup and dry run checks.
3541
- name: Install dependencies
3642
run: dart pub get

0 commit comments

Comments
 (0)