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 53d0147 commit c01bbdfCopy full SHA for c01bbdf
.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
+ - name: Install dependencies
15
+ run: flutter pub get
16
+ - name: Analyze
17
+ run: flutter analyze
18
+ - name: Run tests
19
+ run: flutter test
20
+ - name: Format code
21
+ run: dart format --fix .
22
+ - name: Check Publish Warnings
23
+ run: dart pub publish --dry-run
24
+ - name: Publish
25
+ uses: k-paxian/[email protected]
26
27
+ credentialJson: ${{ secrets.CREDENTIAL_JSON }}
28
+ flutter: true
29
+ skipTests: true
0 commit comments