We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e540b commit 898f5cfCopy full SHA for 898f5cf
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+on:
2
+ release:
3
+ branches:
4
+ - master
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Install Flutter
11
+ uses: subosito/flutter-action@v2
12
+ with:
13
+ flutter-version: '3.3.3'
14
+ cache: true
15
+ - name: Install dependencies
16
+ run: flutter pub get
17
+ - name: Analyze
18
+ run: flutter analyze
19
+ - name: Run tests
20
+ run: flutter test
21
+ - name: Format code
22
+ run: dart format --fix .
23
+ - name: Check Publish Warnings
24
+ run: dart pub publish --dry-run
25
+ - name: Publish
26
+ uses: k-paxian/dart-package-publisher@v1.5.1
27
28
+ credentialJson: ${{ secrets.CREDENTIAL_JSON }}
29
+ flutter: true
0 commit comments