Skip to content

Commit e2b6535

Browse files
[Changed] steps flow
1 parent 796d1a2 commit e2b6535

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
# Setup Dart SDK with JWT token
2020
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
2121

22-
# Check if the version is valid
23-
- name: Check Version
24-
run: flutter pub run tools/publish/check_version.dart ${GITHUB_REF}
25-
2622
# Install Flutter
2723
- name: Install Flutter & Build App Bundle
2824
uses: subosito/flutter-action@v2
@@ -33,6 +29,10 @@ jobs:
3329
- name: Install Flutter Packages
3430
run: flutter pub get
3531

32+
# Check if the version is valid
33+
- name: Check Version
34+
run: flutter pub run tools/publish/check_version.dart ${GITHUB_REF}
35+
3636
# Publish to pub.dev
3737
- name: Publish to pub.dev
3838
run: flutter pub pub publish -f

0 commit comments

Comments
 (0)