Skip to content

Commit c21802d

Browse files
authored
Install a Flutter SDK in the publish workflow (#141)
1 parent f60b945 commit c21802d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,16 @@ jobs:
2929
steps:
3030
# Checkout repository
3131
- uses: actions/checkout@v4
32-
# Setup Dart SDK with JWT token
32+
# Set up the Dart SDK and provision the OIDC token used for publishing.
33+
# The `dart` command from this step will be shadowed by the one from the
34+
# Flutter SDK below.
3335
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
36+
# Download flutter SDK - needed for publishing Flutter packages. Can also
37+
# publish pure Dart packages.
38+
#
39+
# The dart binary from a Flutter SDK facilitates publishing both Flutter
40+
# and pure-dart packages.
41+
- uses: flutter-actions/setup-flutter@d030cb603380106494f72d65a7e52462f380781f
3442
# Minimal package setup and dry run checks.
3543
- name: Install dependencies
3644
run: dart pub get

0 commit comments

Comments
 (0)