Skip to content

Commit

Permalink
Fix flutter_comms publish workflow (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewandowski-jan committed Jul 21, 2023
1 parent 0f07e1a commit acc12da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/flutter_comms-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
- name: Install Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.0.6
sdk: stable

- name: Install Flutter
uses: subosito/flutter-action@v2.6.2
with:
channel: stable
cache: true

- name: Install mobile-tools
- name: Download mobile-tools
uses: actions/checkout@v3
with:
repository: leancodepl/mobile-tools
Expand All @@ -43,7 +49,7 @@ jobs:
echo "IS_PRERELEASE=$(is_prerelease $package_name $tag)" >> $GITHUB_ENV
- name: Publish
run: dart pub publish -f
run: flutter pub publish --force

- name: Create release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_comms/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage: https://github.com/leancodepl/comms

environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0 <4.0.0"
flutter: ">=3.10.0"

dependencies:
comms: ^1.0.1
Expand Down

0 comments on commit acc12da

Please sign in to comment.