Skip to content

Commit 587ebf6

Browse files
test
1 parent b065f6a commit 587ebf6

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/publish_package.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,20 @@ jobs:
1818
- name: Setup Flutter
1919
uses: subosito/flutter-action@v2
2020
with:
21-
flutter-version: '3.24.3' # Updated to a more recent stable version
21+
flutter-version: '3.24.4' # Updated to a more recent stable version
2222
channel: 'stable'
2323
cache: true
2424

2525
- name: Install dependencies
2626
run: flutter pub get
2727

28-
- name: Analyze code
29-
run: flutter analyze --no-pub
30-
31-
- name: Format code
32-
run: dart format --set-exit-if-changed .
33-
34-
- name: Run tests
35-
run: flutter test
3628

3729
- name: Check publish warnings
3830
run: dart pub publish --dry-run
39-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
31+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
4032

4133
- name: Publish package
42-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
34+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
4335
uses: k-paxian/[email protected]
4436
with:
4537
accessToken: ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)