Skip to content

Commit 39e9e56

Browse files
committed
config: update package release pipeline
1 parent 5f707fc commit 39e9e56

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

.github/workflows/package_deploy.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
channel: stable
1313
- name: Install dependencies
1414
run: flutter pub get
15-
15+
1616
- name: Running Flutter analysis on package code
1717
run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt
18-
18+
1919
- name: Artifact analysis report
2020
uses: actions/upload-artifact@v4
2121
if: always()
@@ -32,10 +32,10 @@ jobs:
3232
uses: subosito/flutter-action@v2
3333
with:
3434
channel: stable
35-
35+
3636
- name: Install dependencies
3737
run: flutter pub get
38-
38+
3939
- name: Run unit tests
4040
run: flutter test
4141
upload-package:
@@ -49,24 +49,12 @@ jobs:
4949
channel: stable
5050
- name: Install dependencies
5151
run: flutter pub get
52-
53-
- name: Running Flutter analysis on package code
54-
run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt
55-
56-
- name: Artifact analysis report
57-
uses: actions/upload-artifact@v4
58-
if: always()
59-
with:
60-
name: analysis-report
61-
path: |
62-
analysis_report.txt
63-
retention-days: 15
64-
52+
6553
- name: Check Publish Warnings
6654
run: dart pub publish --dry-run
6755

6856
- name: Publish new package version
6957
uses: k-paxian/dart-package-publisher@master
7058
with:
7159
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
72-
flutter: true
60+
flutter: true

0 commit comments

Comments
 (0)