Skip to content

Commit

Permalink
Install a Flutter SDK in the publish workflow (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdm authored Nov 28, 2024
1 parent f60b945 commit c21802d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,16 @@ jobs:
steps:
# Checkout repository
- uses: actions/checkout@v4
# Setup Dart SDK with JWT token
# Set up the Dart SDK and provision the OIDC token used for publishing.
# The `dart` command from this step will be shadowed by the one from the
# Flutter SDK below.
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
# Download flutter SDK - needed for publishing Flutter packages. Can also
# publish pure Dart packages.
#
# The dart binary from a Flutter SDK facilitates publishing both Flutter
# and pure-dart packages.
- uses: flutter-actions/setup-flutter@d030cb603380106494f72d65a7e52462f380781f
# Minimal package setup and dry run checks.
- name: Install dependencies
run: dart pub get
Expand Down

0 comments on commit c21802d

Please sign in to comment.